diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-09-26 09:46:48 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-09-26 09:46:48 +0200 |
commit | 2be37f4040567c0b09b703d31c231eea606a2715 (patch) | |
tree | 2a69c79e98f7db091ac5a9f269042516b8134af8 | |
parent | 4baec725e0dc0713f0d47003e9b10bc3b62f56ff (diff) |
Silence macOS 10.13 -Werror,-Wdeprecated-declarations
Change-Id: I84e9d3fc344fdc9fcf90ab63303d86e7a1cb20da
-rw-r--r-- | vcl/osx/clipboard.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
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) { |