summaryrefslogtreecommitdiff
path: root/framework/source/uielement/toolbarwrapper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/uielement/toolbarwrapper.cxx')
-rw-r--r--framework/source/uielement/toolbarwrapper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/uielement/toolbarwrapper.cxx b/framework/source/uielement/toolbarwrapper.cxx
index ebad6f9787c9..d9e279013995 100644
--- a/framework/source/uielement/toolbarwrapper.cxx
+++ b/framework/source/uielement/toolbarwrapper.cxx
@@ -199,7 +199,7 @@ void SAL_CALL ToolBarWrapper::initialize( const Sequence< Any >& aArguments ) th
pToolBar->SetOutputSizePixel( aSize );
}
}
- catch ( NoSuchElementException& )
+ catch ( const NoSuchElementException& )
{
// No settings in our configuration manager. This means we are
// a transient toolbar which has no persistent settings.
@@ -257,7 +257,7 @@ void SAL_CALL ToolBarWrapper::updateSettings() throw (::com::sun::star::uno::Run
if ( m_xConfigData.is() )
pToolBarManager->FillToolbar( m_xConfigData );
}
- catch ( NoSuchElementException& )
+ catch ( const NoSuchElementException& )
{
}
}