diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Image.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Image.java
index 09fe28ec0b..b417ce5399 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Image.java	
+++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Image.java	
@@ -2234,9 +2234,8 @@ ImageData getImageData(int zoom) {
 	private ImageData scaleIfNecessary(ElementAtZoom<ImageData> imageDataAtZoom, int zoom) {
 		if (imageDataAtZoom.zoom() != zoom) {
 			return scaleImageData(imageDataAtZoom.element(), zoom, imageDataAtZoom.zoom());
-		} else {
-			return imageDataAtZoom.element();
 		}
+		return imageDataAtZoom.element();
 	}
 
 	@Override