diff options
Diffstat (limited to 'framework/source/dispatch/popupmenudispatcher.cxx')
-rw-r--r-- | framework/source/dispatch/popupmenudispatcher.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/framework/source/dispatch/popupmenudispatcher.cxx b/framework/source/dispatch/popupmenudispatcher.cxx index 71fec48976e2..07781a19afef 100644 --- a/framework/source/dispatch/popupmenudispatcher.cxx +++ b/framework/source/dispatch/popupmenudispatcher.cxx @@ -243,11 +243,11 @@ throw( css::uno::RuntimeException ) if ( xDispatchProvider.is() ) xDispatch = xDispatchProvider->queryDispatch( rURL, sTarget, nFlags ); } - catch ( RuntimeException& ) + catch ( const RuntimeException& ) { throw; } - catch ( Exception& ) + catch ( const Exception& ) { } } @@ -390,11 +390,11 @@ void PopupMenuDispatcher::impl_RetrievePopupControllerQuery() xMenuBar, css::uno::UNO_QUERY ); } } - catch ( css::uno::RuntimeException& ) + catch ( const css::uno::RuntimeException& ) { throw; } - catch ( css::uno::Exception& ) + catch ( const css::uno::Exception& ) { } } |