diff --git a/tests/org.eclipse.swt.tests.win32/ManualTests/org/eclipse/swt/widgets/PatternWin32ManualTest.java b/tests/org.eclipse.swt.tests.win32/ManualTests/org/eclipse/swt/widgets/PatternWin32ManualTest.java index 371e918f412..5ebba0bb533 100644 --- a/tests/org.eclipse.swt.tests.win32/ManualTests/org/eclipse/swt/widgets/PatternWin32ManualTest.java +++ b/tests/org.eclipse.swt.tests.win32/ManualTests/org/eclipse/swt/widgets/PatternWin32ManualTest.java @@ -33,6 +33,7 @@ public class PatternWin32ManualTest { private static Display display = Display.getDefault(); public static void main (String [] args) { + @SuppressWarnings("restriction") int zoom = DPIUtil.getDeviceZoom(); int scalingFactor = 3; int scaledZoom = zoom * scalingFactor;