vcl/osx/clipboard.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 2be37f4040567c0b09b703d31c231eea606a2715
Author: Stephan Bergmann <sberg...@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)
         {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to