summaryrefslogtreecommitdiff
path: root/accessibility/bridge/source
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility/bridge/source')
-rw-r--r--accessibility/bridge/source/java/WindowsAccessBridgeAdapter.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/accessibility/bridge/source/java/WindowsAccessBridgeAdapter.cxx b/accessibility/bridge/source/java/WindowsAccessBridgeAdapter.cxx
index f34e79aae86f..087e4dec681d 100644
--- a/accessibility/bridge/source/java/WindowsAccessBridgeAdapter.cxx
+++ b/accessibility/bridge/source/java/WindowsAccessBridgeAdapter.cxx
@@ -167,7 +167,7 @@ Java_org_openoffice_accessibility_WindowsAccessBridgeAdapter_createMapping(JNIEn
}
}
- catch ( RuntimeException e)
+ catch ( RuntimeException &e)
{
OSL_TRACE("RuntimeException caught while initializing the mapping");
}
@@ -251,7 +251,7 @@ void handleWindowEvent(Window * pWindow, bool bShow)
}
}
}
- catch (::com::sun::star::uno::RuntimeException e)
+ catch (::com::sun::star::uno::RuntimeException &e)
{
// Ignore show events that throw DisposedExceptions in getAccessibleContext(),
// but keep revoking these windows in hide(s).