summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fpicker/source/aqua/SalAquaFilePicker.mm8
-rw-r--r--fpicker/source/aqua/SalAquaFolderPicker.mm8
-rw-r--r--vcl/osx/salframeview.mm3
3 files changed, 0 insertions, 19 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;
diff --git a/vcl/osx/salframeview.mm b/vcl/osx/salframeview.mm
index 769170f206b5..d78bcffed3be 100644
--- a/vcl/osx/salframeview.mm
+++ b/vcl/osx/salframeview.mm
@@ -173,9 +173,6 @@ static AquaSalFrame* getMouseContainerFrame()
{ static_cast<CGFloat>(pFrame->maGeometry.nWidth), static_cast<CGFloat>(pFrame->maGeometry.nHeight) } };
pFrame->VCLToCocoa( aRect );
NSWindow* pNSWindow = [super initWithContentRect: aRect styleMask: mpFrame->getStyleMask() backing: NSBackingStoreBuffered defer: NO ];
-#if MACOSX_SDK_VERSION < 101000
- [pNSWindow useOptimizedDrawing: YES]; // OSX recommendation when there are no overlapping subviews within the receiver
-#endif
// Disallow full-screen mode on macOS >= 10.11 where it is enabled by default. We don't want it
// for now as it will just be confused with LibreOffice's home-grown full-screen concept, with