toolbarsmenucontroller.cxx (b63233d8) toolbarsmenucontroller.cxx (437a6594)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 826 unchanged lines hidden (view full) ---

835 fillPopupMenu( m_xPopupMenu );
836 }
837}
838
839// XInitialization
840void SAL_CALL ToolbarsMenuController::initialize( const Sequence< Any >& aArguments ) throw ( Exception, RuntimeException )
841{
842 osl::MutexGuard aLock( m_aMutex );
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 826 unchanged lines hidden (view full) ---

835 fillPopupMenu( m_xPopupMenu );
836 }
837}
838
839// XInitialization
840void SAL_CALL ToolbarsMenuController::initialize( const Sequence< Any >& aArguments ) throw ( Exception, RuntimeException )
841{
842 osl::MutexGuard aLock( m_aMutex );
843 sal_Bool bInitalized( m_bInitialized );
844 if ( !bInitalized )
843 sal_Bool bInitialized( m_bInitialized );
844 if ( !bInitialized )
845 {
846 svt::PopupMenuControllerBase::initialize(aArguments);
847
848 if ( m_bInitialized )
849 {
850 Reference< XModuleManager > xModuleManager( m_xServiceManager->createInstance(
851 SERVICENAME_MODULEMANAGER ),
852 UNO_QUERY );

--- 60 unchanged lines hidden ---
845 {
846 svt::PopupMenuControllerBase::initialize(aArguments);
847
848 if ( m_bInitialized )
849 {
850 Reference< XModuleManager > xModuleManager( m_xServiceManager->createInstance(
851 SERVICENAME_MODULEMANAGER ),
852 UNO_QUERY );

--- 60 unchanged lines hidden ---