summaryrefslogtreecommitdiffstats
path: root/vcl
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-06-09 12:47:34 +0300
committerTor Lillqvist <tml@collabora.com>2015-06-10 11:47:10 +0300
commit6c2f65dfe08dd7acefec3be00b4f38dd5bca50a8 (patch)
tree466170a423fa4a5ed4aff089b1742511037950c0 /vcl
parentsw: fix gcc-4.7 build (diff)
downloadcore-6c2f65dfe08dd7acefec3be00b4f38dd5bca50a8.tar.gz
core-6c2f65dfe08dd7acefec3be00b4f38dd5bca50a8.zip
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.cxx4
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;