vcl/source/outdev/bitmapex.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit d35236adb3fc561f49134a88c7468411527ee3d5
Author:     Chris Sherlock <chris.sherloc...@gmail.com>
AuthorDate: Sun Sep 24 00:58:17 2023 +1000
Commit:     Tomaž Vajngerl <qui...@gmail.com>
CommitDate: Fri Oct 27 05:50:44 2023 +0200

    vcl: flatten OutputDevice::GetBitmapEx()
    
    Change-Id: I85e7767cd2665febd289cc1fd023d30ab80cfe5d
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157191
    Tested-by: Jenkins
    Reviewed-by: Tomaž Vajngerl <qui...@gmail.com>

diff --git a/vcl/source/outdev/bitmapex.cxx b/vcl/source/outdev/bitmapex.cxx
index e849f4b73181..b4fa9641a1e5 100644
--- a/vcl/source/outdev/bitmapex.cxx
+++ b/vcl/source/outdev/bitmapex.cxx
@@ -160,8 +160,8 @@ BitmapEx OutputDevice::GetBitmapEx( const Point& rSrcPt, 
const Size& rSize ) con
 
         return BitmapEx(GetBitmap( rSrcPt, rSize ), AlphaMask( aAlphaBitmap ) 
);
     }
-    else
-        return BitmapEx(GetBitmap( rSrcPt, rSize ));
+
+    return BitmapEx(GetBitmap( rSrcPt, rSize ));
 }
 
 void OutputDevice::DrawDeviceBitmapEx( const Point& rDestPt, const Size& 
rDestSize,

Reply via email to