summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-09-26 10:11:10 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-09-26 10:11:10 +0200
commit302843bb6dc2c82de37015b6d444b1d7cbf33c1e (patch)
tree70aa6a8b5d506bd17f3df98ac2a19ab3534e064e /fpicker
parentd883e3556a77303919c84652fea0f603fa350311 (diff)
Silence macOS 10.13 -Werror,-Wdeprecated-declarations
Change-Id: Idde11cd740dd67b5df06945557e5580c7d16b1e3
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/aqua/SalAquaPicker.mm3
1 files changed, 3 insertions, 0 deletions
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]);