summaryrefslogtreecommitdiff
path: root/toolkit/source/awt/vclxtoolkit.cxx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-01-07 15:50:41 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-01-07 15:51:31 +0900
commite4ce7225dd987f9b2f250f055d9688de79931444 (patch)
tree410ae8624915809274fc28759eef78919a980f60 /toolkit/source/awt/vclxtoolkit.cxx
parentd74c77428deba9619c678a59d6442ec281385264 (diff)
catch exception by constant reference
Diffstat (limited to 'toolkit/source/awt/vclxtoolkit.cxx')
-rw-r--r--toolkit/source/awt/vclxtoolkit.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/toolkit/source/awt/vclxtoolkit.cxx b/toolkit/source/awt/vclxtoolkit.cxx
index 0eb2d1ae46e6..b9d94be3ec1b 100644
--- a/toolkit/source/awt/vclxtoolkit.cxx
+++ b/toolkit/source/awt/vclxtoolkit.cxx
@@ -1224,7 +1224,7 @@ css::uno::Reference< css::awt::XWindowPeer > VCLXToolkit::ImplCreateWindow(
{
pChildWindow = new WorkWindow( &aParentData );
}
- catch ( ::com::sun::star::uno::RuntimeException & rEx )
+ catch ( const ::com::sun::star::uno::RuntimeException & rEx )
{
// system child window could not be created
OSL_TRACE(
@@ -1638,7 +1638,7 @@ void VCLXToolkit::callTopWindowListeners(
{
(xListener.get()->*pFn)(aAwtEvent);
}
- catch (::css::uno::RuntimeException & rEx)
+ catch (const ::css::uno::RuntimeException & rEx)
{
OSL_TRACE(
"VCLXToolkit::callTopWindowListeners: caught %s\n",
@@ -1686,7 +1686,7 @@ long VCLXToolkit::callKeyHandlers(::VclSimpleEvent const * pEvent,
: xHandler->keyReleased(aAwtEvent)))
return 1;
}
- catch (::css::uno::RuntimeException & rEx)
+ catch (const ::css::uno::RuntimeException & rEx)
{
OSL_TRACE(
"VCLXToolkit::callKeyHandlers: caught %s\n",
@@ -1734,7 +1734,7 @@ void VCLXToolkit::callFocusListeners(::VclSimpleEvent const * pEvent,
bGained ? xListener->focusGained(aAwtEvent)
: xListener->focusLost(aAwtEvent);
}
- catch (::css::uno::RuntimeException & rEx)
+ catch (const ::css::uno::RuntimeException & rEx)
{
OSL_TRACE(
"VCLXToolkit::callFocusListeners: caught %s\n",