summaryrefslogtreecommitdiff
path: root/vcl/osx
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2014-09-13 20:20:45 +0200
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-09-13 20:21:07 +0200
commit4fa8282816cb39692678e9da6b6693e821a3039b (patch)
tree7da85a2aa31b851d782acca5bc1f683c23280e37 /vcl/osx
parent100805844ab3371553803b0b05d3a41a42da7a3a (diff)
mac: clean-up obsolete conditional code based on old SDK
Change-Id: Ie2d476780a48b5815961598e214343d5def962c1
Diffstat (limited to 'vcl/osx')
-rw-r--r--vcl/osx/salmenu.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/vcl/osx/salmenu.cxx b/vcl/osx/salmenu.cxx
index cc5cc06cd385..47129b9a9c04 100644
--- a/vcl/osx/salmenu.cxx
+++ b/vcl/osx/salmenu.cxx
@@ -880,12 +880,7 @@ Rectangle AquaSalMenu::GetMenuBarButtonRectPixel( sal_uInt16 i_nItemId, SalFrame
if( ! pNSWin )
return Rectangle();
-#if MACOSX_SDK_VERSION >= 1070
NSRect aRect = [pNSWin convertRectToScreen:[pNSWin frame]];
-#else
- NSRect aRect = [pNSWin frame];
- aRect.origin = [pNSWin convertBaseToScreen: NSMakePoint( 0, 0 )];
-#endif
// make coordinates relative to reference frame
static_cast<AquaSalFrame*>(i_pReferenceFrame)->CocoaToVCL( aRect.origin );