summaryrefslogtreecommitdiff
path: root/vcl/osx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-10-01 10:55:14 +0300
committerTor Lillqvist <tml@collabora.com>2014-10-01 17:27:59 +0300
commitec147012340219c8bb5eaf8fe3d41be7836bc261 (patch)
treefbe260f4edcfe3f587502ad5696decf789cd1b4b /vcl/osx
parent5e83f36cb5221172c76d4ab363d889f30ea70aed (diff)
We require OS X SDK 10.8 or newer now
Change-Id: I68eee76c8710c89af8e3c1e1006345f908923ece
Diffstat (limited to 'vcl/osx')
-rw-r--r--vcl/osx/salframe.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/vcl/osx/salframe.cxx b/vcl/osx/salframe.cxx
index 9e00d4054b45..43a0674da8da 100644
--- a/vcl/osx/salframe.cxx
+++ b/vcl/osx/salframe.cxx
@@ -1246,11 +1246,7 @@ void AquaSalFrame::UpdateSettings( AllSettings& rSettings )
getAppleScrollBarVariant(aStyleSettings);
// set scrollbar size
-#if MACOSX_SDK_VERSION >= 1070
aStyleSettings.SetScrollBarSize( static_cast<long int>([NSScroller scrollerWidthForControlSize:NSRegularControlSize scrollerStyle:NSScrollerStyleLegacy]) );
-#else
- aStyleSettings.SetScrollBarSize( static_cast<long int>([NSScroller scrollerWidth]) );
-#endif
// images in menus false for MacOSX
aStyleSettings.SetPreferredUseImagesInMenus( false );
aStyleSettings.SetHideDisabledMenuItems( true );