diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-21 23:46:33 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-21 23:47:23 +0100 |
commit | fe7a4bccfdc6ff7e10789e5512ac469a4dc44f55 (patch) | |
tree | 2da6d63a8ff02d78999427a700fe823f07db2f70 /vcl/osx/PictToBmpFlt.cxx | |
parent | 216bcceee1ba908f617deb3f2404aff8085d5358 (diff) |
Adapt vcl to various loplugin warnings on Mac OS X
Change-Id: I4553ce218fbcf2ac681b284c71e7d558a451511c
Diffstat (limited to 'vcl/osx/PictToBmpFlt.cxx')
-rw-r--r-- | vcl/osx/PictToBmpFlt.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/osx/PictToBmpFlt.cxx b/vcl/osx/PictToBmpFlt.cxx index 91ed2bc5f177..77c67a654107 100644 --- a/vcl/osx/PictToBmpFlt.cxx +++ b/vcl/osx/PictToBmpFlt.cxx @@ -59,8 +59,8 @@ bool PNGToImage( com::sun::star::uno::Sequence<sal_Int8>& rPngData, if( !pData) return false; - NSBitmapImageRep* pRep = [NSBitmapImageRep imageRepWithData: pData]; - if( !pRep) + NSBitmapImageRep* pRep = [NSBitmapImageRep imageRepWithData: pData]; + if( !pRep) return false; NSData* pOut = [pRep representationUsingType: eOutFormat properties: nil]; |