[Libreoffice-commits] core.git: vcl/osx
Stephan Bergmann
sbergman at redhat.com
Tue Sep 26 07:47:15 UTC 2017
vcl/osx/clipboard.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 2be37f4040567c0b09b703d31c231eea606a2715
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Sep 26 09:46:48 2017 +0200
Silence macOS 10.13 -Werror,-Wdeprecated-declarations
Change-Id: I84e9d3fc344fdc9fcf90ab63303d86e7a1cb20da
diff --git a/vcl/osx/clipboard.cxx b/vcl/osx/clipboard.cxx
index 975dc8c01ed7..a702432dd3f1 100644
--- a/vcl/osx/clipboard.cxx
+++ b/vcl/osx/clipboard.cxx
@@ -93,8 +93,10 @@ AquaClipboard::AquaClipboard(NSPasteboard* pasteboard, bool bUseSystemPasteboard
}
else
{
+ SAL_WNODEPRECATED_DECLARATIONS_PUSH //TODO: 10.13 NSDragPboard
mPasteboard = bUseSystemPasteboard ? [NSPasteboard generalPasteboard] :
[NSPasteboard pasteboardWithName: NSDragPboard];
+ SAL_WNODEPRECATED_DECLARATIONS_POP
if (mPasteboard == nil)
{
More information about the Libreoffice-commits
mailing list