summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2013-10-12 19:17:21 +0300
committerTor Lillqvist <tml@collabora.com>2013-10-12 19:17:21 +0300
commit87708fd311145a7fb0415842f277693fdea3c816 (patch)
tree28aa39913dbab07464693240ed2f7d22261ce819
parent49da6374b357277d46dfddfeb9e102c722a32111 (diff)
Simplify
Change-Id: Ic2afa7e60da57c5b516a043f717dea21a3cf0d55
-rw-r--r--framework/source/uielement/menubarmanager.cxx10
1 files changed, 1 insertions, 9 deletions
diff --git a/framework/source/uielement/menubarmanager.cxx b/framework/source/uielement/menubarmanager.cxx
index e0bac020cd41..027448cf1be5 100644
--- a/framework/source/uielement/menubarmanager.cxx
+++ b/framework/source/uielement/menubarmanager.cxx
@@ -274,19 +274,11 @@ Any SAL_CALL MenuBarManager::getMenuHandle( const Sequence< sal_Int8 >& /*Proces
aSystemMenuData.nSize = sizeof( SystemMenuData );
m_pVCLMenu->GetSystemMenuData( &aSystemMenuData );
-#ifdef MACOSX
- if( SystemType == SystemDependent::SYSTEM_MAC )
- {
- }
-#elif (defined WNT)
+#ifdef _WIN32
if( SystemType == SystemDependent::SYSTEM_WIN32 )
{
a <<= (long) aSystemMenuData.hMenu;
}
-#elif (defined UNX)
- if( SystemType == SystemDependent::SYSTEM_XWINDOW )
- {
- }
#endif
}