diff options
Diffstat (limited to 'framework/source/uielement/newmenucontroller.cxx')
-rw-r--r-- | framework/source/uielement/newmenucontroller.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/source/uielement/newmenucontroller.cxx b/framework/source/uielement/newmenucontroller.cxx index 3877f193e317..dad7a1922c47 100644 --- a/framework/source/uielement/newmenucontroller.cxx +++ b/framework/source/uielement/newmenucontroller.cxx @@ -315,7 +315,7 @@ void NewMenuController::retrieveShortcutsFromConfiguration( aMenuShortCuts[i] = svt::AcceleratorExecute::st_AWTKey2VCLKey( aKeyEvent ); } } - catch ( IllegalArgumentException& ) + catch ( const IllegalArgumentException& ) { } } @@ -524,11 +524,11 @@ void NewMenuController::impl_setPopupMenu() } } } - catch ( RuntimeException& ) + catch ( const RuntimeException& ) { throw; } - catch ( Exception& ) + catch ( const Exception& ) { } } |