summaryrefslogtreecommitdiff
path: root/framework/source/uielement/complextoolbarcontroller.cxx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2011-12-14 00:03:52 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2011-12-14 01:31:17 +0900
commit520891d058f9e936b9b8afb490b5a26c156008ef (patch)
tree6cb8ebad42c3504cb3e26249ba3458afb02a9922 /framework/source/uielement/complextoolbarcontroller.cxx
parent4c1c531435e1bdb151d45626648486062012cbaa (diff)
catch exception by constant reference
Diffstat (limited to 'framework/source/uielement/complextoolbarcontroller.cxx')
-rw-r--r--framework/source/uielement/complextoolbarcontroller.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/uielement/complextoolbarcontroller.cxx b/framework/source/uielement/complextoolbarcontroller.cxx
index 6d088b1a3b62..94b398694b2b 100644
--- a/framework/source/uielement/complextoolbarcontroller.cxx
+++ b/framework/source/uielement/complextoolbarcontroller.cxx
@@ -239,7 +239,7 @@ IMPL_STATIC_LINK_NOINSTANCE( ComplexToolbarController, ExecuteHdl_Impl, ExecuteI
// elements if a component gets detached from its frame!
pExecuteInfo->xDispatch->dispatch( pExecuteInfo->aTargetURL, pExecuteInfo->aArgs );
}
- catch ( Exception& )
+ catch ( const Exception& )
{
}
@@ -264,7 +264,7 @@ IMPL_STATIC_LINK_NOINSTANCE( ComplexToolbarController, Notify_Impl, NotifyInfo*,
aEvent.aInformation = pNotifyInfo->aInfoSeq;
pNotifyInfo->xNotifyListener->controlEvent( aEvent );
}
- catch ( Exception& )
+ catch ( const Exception& )
{
}