[Libreoffice-commits] core.git: vcl/osx

Stephan Bergmann sbergman at redhat.com
Wed Jun 10 04:31:43 PDT 2015


 vcl/osx/PictToBmpFlt.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 80bff90943bb983033ace6339ff3e575666e8a74
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Jun 10 13:31:07 2015 +0200

    loplugin:bodynotinblock
    
    Change-Id: I97d74eebcb45f413dbc73ab96db447228eeb158f

diff --git a/vcl/osx/PictToBmpFlt.cxx b/vcl/osx/PictToBmpFlt.cxx
index dea5b47..dc04348 100644
--- a/vcl/osx/PictToBmpFlt.cxx
+++ b/vcl/osx/PictToBmpFlt.cxx
@@ -37,10 +37,10 @@ bool ImageToPNG( com::sun::star::uno::Sequence<sal_Int8>& rImgData,
         return false;
 
     NSBitmapImageRep* pRep =[NSBitmapImageRep imageRepWithData: pData];
-        if( !pRep)
+    if( !pRep)
         return false;
 
-        NSData* pOut = [pRep representationUsingType: NSPNGFileType properties: @{ }];
+    NSData* pOut = [pRep representationUsingType: NSPNGFileType properties: @{ }];
     if( !pOut)
         return false;
 


More information about the Libreoffice-commits mailing list