vcl/source/image/ImplImage.cxx |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

New commits:
commit f188026e9163aec6317160059c4b0e98290a4de2
Author:     Stephan Bergmann <stephan.bergm...@allotropia.de>
AuthorDate: Thu May 30 09:26:08 2024 +0200
Commit:     Stephan Bergmann <stephan.bergm...@allotropia.de>
CommitDate: Fri May 31 09:52:27 2024 +0200

    loplugin:indentation (macOS)
    
    Change-Id: I989ad1a8d8100a9bbd60d2bbd8aa1c206860d966
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168243
    Reviewed-by: Stephan Bergmann <stephan.bergm...@allotropia.de>
    Tested-by: Jenkins

diff --git a/vcl/source/image/ImplImage.cxx b/vcl/source/image/ImplImage.cxx
index f4b1cbba21a4..89b8cc2b5989 100644
--- a/vcl/source/image/ImplImage.cxx
+++ b/vcl/source/image/ImplImage.cxx
@@ -66,11 +66,11 @@ bool ImplImage::loadStockAtScale(SalGraphics* pGraphics, 
BitmapEx &rBitmapEx)
     if (aIconTheme.endsWith("_svg"))
     {
 #endif
-    if (pGraphics && pGraphics->ShouldDownscaleIconsAtSurface(&fScale)) // 
scale at the surface
-    {
-        nScalePercentage = fScale * 100.0;
-        eScalingFlags = ImageLoadFlags::IgnoreScalingFactor;
-    }
+        if (pGraphics && pGraphics->ShouldDownscaleIconsAtSurface(&fScale)) // 
scale at the surface
+        {
+            nScalePercentage = fScale * 100.0;
+            eScalingFlags = ImageLoadFlags::IgnoreScalingFactor;
+        }
 #ifdef MACOSX
     }
 #endif

Reply via email to