From 87708fd311145a7fb0415842f277693fdea3c816 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Sat, 12 Oct 2013 19:17:21 +0300 Subject: Simplify Change-Id: Ic2afa7e60da57c5b516a043f717dea21a3cf0d55 --- framework/source/uielement/menubarmanager.cxx | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'framework/source/uielement/menubarmanager.cxx') 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 } -- cgit