diff options
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]; |