summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
Diffstat (limited to 'framework')
-rw-r--r--framework/source/uielement/menubarwrapper.cxx14
1 files changed, 0 insertions, 14 deletions
diff --git a/framework/source/uielement/menubarwrapper.cxx b/framework/source/uielement/menubarwrapper.cxx
index b1f781d1fddf..1804566afdfe 100644
--- a/framework/source/uielement/menubarwrapper.cxx
+++ b/framework/source/uielement/menubarwrapper.cxx
@@ -121,19 +121,6 @@ void SAL_CALL MenuBarWrapper::dispose() throw (::com::sun::star::uno::RuntimeExc
m_bDisposed = sal_True;
}
-//void generateFullMenuBar( MenuBarManager *pMenuBarManager, MenuBar *pMenuBar )
-//{
-// for (int i=0; i < pMenuBar->GetItemCount(); i++)
-// {
-// sal_Int16 nId = pMenuBar->GetItemId( i );
-
-// String aCommandLabel = pMenuBar->GetItemCommand( nId );
-
-// String label = pMenuBarManager->RetrieveLabelFromCommand( aCommandLabel );
-// pMenuBar->SetItemText( nId, label );
-// }
-//}
-
// XInitialization
void SAL_CALL MenuBarWrapper::initialize( const Sequence< Any >& aArguments ) throw ( Exception, RuntimeException )
{
@@ -216,7 +203,6 @@ void SAL_CALL MenuBarWrapper::initialize( const Sequence< Any >& aArguments ) th
m_xMenuBarManager = Reference< XComponent >( static_cast< OWeakObject *>( pMenuBarManager ), UNO_QUERY );
-// pMenuBarManager->GenerateFullMenuHierarchy( pVCLMenuBar );
pVCLMenuBar->Freeze();
}