diff options
Diffstat (limited to 'framework')
-rw-r--r-- | framework/inc/services/layoutmanager.hxx | 2 | ||||
-rw-r--r-- | framework/source/layoutmanager/layoutmanager.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/framework/inc/services/layoutmanager.hxx b/framework/inc/services/layoutmanager.hxx index b0b2a75aba2c..ae1f3008d965 100644 --- a/framework/inc/services/layoutmanager.hxx +++ b/framework/inc/services/layoutmanager.hxx @@ -253,7 +253,7 @@ namespace framework void implts_setVisibleState( bool bShow ); void implts_updateUIElementsVisibleState( bool bShow ); void implts_setCurrentUIVisibility( bool bShow ); - void implts_notifyListeners( short nEvent, ::com::sun::star::uno::Any aInfoParam ); + void implts_notifyListeners(short nEvent, const css::uno::Any& rInfoParam); DECL_LINK( OptionsChanged, void* ); DECL_LINK( SettingsChanged, void* ); diff --git a/framework/source/layoutmanager/layoutmanager.cxx b/framework/source/layoutmanager/layoutmanager.cxx index d1d5dbc5d4d5..d4e4eee9912e 100644 --- a/framework/source/layoutmanager/layoutmanager.cxx +++ b/framework/source/layoutmanager/layoutmanager.cxx @@ -2628,7 +2628,7 @@ throw (uno::RuntimeException, std::exception) m_aListenerContainer.removeInterface( cppu::UnoType<frame::XLayoutManagerListener>::get(), xListener ); } -void LayoutManager::implts_notifyListeners( short nEvent, uno::Any aInfoParam ) +void LayoutManager::implts_notifyListeners(short nEvent, const uno::Any& rInfoParam) { lang::EventObject aSource( static_cast< ::cppu::OWeakObject*>(this) ); ::cppu::OInterfaceContainerHelper* pContainer = m_aListenerContainer.getContainer( cppu::UnoType<frame::XLayoutManagerListener>::get()); @@ -2639,7 +2639,7 @@ void LayoutManager::implts_notifyListeners( short nEvent, uno::Any aInfoParam ) { try { - static_cast<frame::XLayoutManagerListener*>(pIterator.next())->layoutEvent( aSource, nEvent, aInfoParam ); + static_cast<frame::XLayoutManagerListener*>(pIterator.next())->layoutEvent(aSource, nEvent, rInfoParam); } catch( const uno::RuntimeException& ) { |