summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-09-12 12:24:49 +0200
committerStephan Bergmann <sbergman@redhat.com>2018-09-12 14:31:52 +0200
commit9bc7194ebb20969b0097a242eedeae64c6d6e2d2 (patch)
tree25a16b053bcdb886bfd6a6e6983b124fe6837948 /fpicker
parent801cc9550b38778971a9b3ebf427a6a151c50033 (diff)
Remove MACOSX_SDK_VERSION < 101200 code, which is dead
...as a consequence of <https://gerrit.libreoffice.org/#/c/60375/> "Support for building with macOS SDK < 10.12 is long gone" Change-Id: Ic87a9608b4defbeb5cf066d61f6819226dd58c1b Reviewed-on: https://gerrit.libreoffice.org/60377 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/aqua/SalAquaFilePicker.mm8
-rw-r--r--fpicker/source/aqua/SalAquaFolderPicker.mm8
2 files changed, 0 insertions, 16 deletions
diff --git a/fpicker/source/aqua/SalAquaFilePicker.mm b/fpicker/source/aqua/SalAquaFilePicker.mm
index 57d30cfa8a30..ec55964971ba 100644
--- a/fpicker/source/aqua/SalAquaFilePicker.mm
+++ b/fpicker/source/aqua/SalAquaFilePicker.mm
@@ -170,19 +170,11 @@ sal_Int16 SAL_CALL SalAquaFilePicker::execute()
switch( nStatus )
{
-#if MACOSX_SDK_VERSION >= 101000
case NSModalResponseOK:
-#else
- case NSOKButton:
-#endif
retVal = ExecutableDialogResults::OK;
break;
-#if MACOSX_SDK_VERSION >= 101000
case NSModalResponseCancel:
-#else
- case NSCancelButton:
-#endif
retVal = ExecutableDialogResults::CANCEL;
break;
diff --git a/fpicker/source/aqua/SalAquaFolderPicker.mm b/fpicker/source/aqua/SalAquaFolderPicker.mm
index 68cb69c11c4d..f9de585be0d3 100644
--- a/fpicker/source/aqua/SalAquaFolderPicker.mm
+++ b/fpicker/source/aqua/SalAquaFolderPicker.mm
@@ -85,19 +85,11 @@ sal_Int16 SAL_CALL SalAquaFolderPicker::execute()
switch( nResult )
{
-#if MACOSX_SDK_VERSION >= 101000
case NSModalResponseOK:
-#else
- case NSOKButton:
-#endif
retVal = ExecutableDialogResults::OK;
break;
-#if MACOSX_SDK_VERSION >= 101000
case NSModalResponseCancel:
-#else
- case NSCancelButton:
-#endif
retVal = ExecutableDialogResults::CANCEL;
break;