summaryrefslogtreecommitdiff
path: root/accessibility/bridge/source
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2011-02-06 00:19:46 +0100
committerJulien Nabet <serval2412@yahoo.fr>2011-02-06 00:19:46 +0100
commit37823fe2b4474eca6e8a775668af6bca21e2af55 (patch)
tree024a86eca04a42cc6acd74a5c9c2e6ac944ad05b /accessibility/bridge/source
parentfe9ce8d621de45f52b30accc759e976cf480c9af (diff)
Some cppcheck cleaning
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).