diff options
author | Tor Lillqvist <tml@collabora.com> | 2015-06-09 12:47:34 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2015-06-10 11:47:10 +0300 |
commit | 6c2f65dfe08dd7acefec3be00b4f38dd5bca50a8 (patch) | |
tree | 466170a423fa4a5ed4aff089b1742511037950c0 /vcl | |
parent | 4fabf093a3f05aed6ae460e6840fb8a884e89828 (diff) |
WaE: null passed to a callee that requires a non-null argument
Let's hope passing an empty NSDictionary works fine.
Change-Id: I90a9b09d421ae8cd202b602db97b2c08b149fd07
Diffstat (limited to 'vcl')
-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 5300c9905569..dea5b47518a7 100644 --- a/vcl/osx/PictToBmpFlt.cxx +++ b/vcl/osx/PictToBmpFlt.cxx @@ -40,7 +40,7 @@ bool ImageToPNG( com::sun::star::uno::Sequence<sal_Int8>& rImgData, if( !pRep) return false; - NSData* pOut = [pRep representationUsingType: NSPNGFileType properties: nil]; + NSData* pOut = [pRep representationUsingType: NSPNGFileType properties: @{ }]; if( !pOut) return false; @@ -63,7 +63,7 @@ bool PNGToImage( com::sun::star::uno::Sequence<sal_Int8>& rPngData, if( !pRep) return false; - NSData* pOut = [pRep representationUsingType: eOutFormat properties: nil]; + NSData* pOut = [pRep representationUsingType: eOutFormat properties: @{ }]; if( !pOut) return false; |