Kaydet (Commit) 6c2f65df authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: null passed to a callee that requires a non-null argument

Let's hope passing an empty NSDictionary works fine.

Change-Id: I90a9b09d421ae8cd202b602db97b2c08b149fd07
üst 4fabf093
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment