summaryrefslogtreecommitdiff
path: root/vcl/osx/PictToBmpFlt.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-10-10 21:26:08 +0200
committerStephan Bergmann <sbergman@redhat.com>2018-10-11 08:13:20 +0200
commitcd3c315e5a5c7d0a961418cfce3b1683f9ab5ad9 (patch)
treec919594ead1deeaa2d7e24886c06b1133994ad41 /vcl/osx/PictToBmpFlt.cxx
parent9943f37e8a80f2c4df6d58da4c50f3e7f3d6f3ce (diff)
-Werror,-Wdeprecated-declarations (--with-macosx-version-min-required=10.14)
These are all the cases where the warning suggests a direct replacement. This is a companion to 2f2c9df8e270ede0fd71b146380c3883b75d8f0d "-Werror,-Wdeprecated-declarations (--with-macosx-version-min-required=10.14)" which covered all the other cases (via SAL_WNODEPRECATED_PUSH/POP) that offered no direct replacement. Change-Id: If22a3f8cec1ff22fd1ac4b9d2f2bffde50e11e86 Reviewed-on: https://gerrit.libreoffice.org/61633 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl/osx/PictToBmpFlt.cxx')
-rw-r--r--vcl/osx/PictToBmpFlt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/osx/PictToBmpFlt.cxx b/vcl/osx/PictToBmpFlt.cxx
index 796a119811ba..fda099643c06 100644
--- a/vcl/osx/PictToBmpFlt.cxx
+++ b/vcl/osx/PictToBmpFlt.cxx
@@ -36,7 +36,7 @@ bool ImageToPNG( css::uno::Sequence<sal_Int8> const & rImgData,
if( !pRep)
return false;
- NSData* pOut = [pRep representationUsingType: NSPNGFileType properties: @{ }];
+ NSData* pOut = [pRep representationUsingType: NSBitmapImageFileTypePNG properties: @{ }];
if( !pOut)
return false;