[Libreoffice-commits] core.git: fpicker/source

Stephan Bergmann sbergman at redhat.com
Tue Sep 26 08:11:33 UTC 2017


 fpicker/source/aqua/SalAquaPicker.mm |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 302843bb6dc2c82de37015b6d444b1d7cbf33c1e
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Sep 26 10:11:10 2017 +0200

    Silence macOS 10.13 -Werror,-Wdeprecated-declarations
    
    Change-Id: Idde11cd740dd67b5df06945557e5580c7d16b1e3

diff --git a/fpicker/source/aqua/SalAquaPicker.mm b/fpicker/source/aqua/SalAquaPicker.mm
index 9fba038caa10..e0bed327d831 100644
--- a/fpicker/source/aqua/SalAquaPicker.mm
+++ b/fpicker/source/aqua/SalAquaPicker.mm
@@ -164,7 +164,10 @@ int SalAquaPicker::run()
             break;
     }
 
+    SAL_WNODEPRECATED_DECLARATIONS_PUSH
+        //TODO: 10.13 NSFileHandlingPanelOKButton
     if (retVal == NSFileHandlingPanelOKButton) {
+    SAL_WNODEPRECATED_DECLARATIONS_POP
         NSURL* pDir = [m_pDialog directoryURL];
         if (pDir) {
             implsetDisplayDirectory([pDir OUStringForInfo:FULLPATH]);


More information about the Libreoffice-commits mailing list