summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}