diff options
Diffstat (limited to 'framework/source/uifactory/addonstoolboxfactory.cxx')
-rw-r--r-- | framework/source/uifactory/addonstoolboxfactory.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/uifactory/addonstoolboxfactory.cxx b/framework/source/uifactory/addonstoolboxfactory.cxx index 7909c966e232..601bff09c6b1 100644 --- a/framework/source/uifactory/addonstoolboxfactory.cxx +++ b/framework/source/uifactory/addonstoolboxfactory.cxx @@ -112,11 +112,11 @@ sal_Bool AddonsToolBoxFactory::hasButtonsInContext( { aModuleIdentifier = m_xModuleManager->identify( rFrame ); } - catch ( RuntimeException& ) + catch ( const RuntimeException& ) { throw; } - catch ( Exception& ) + catch ( const Exception& ) { } |