summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2012-12-03 14:15:36 +0100
committerLionel Elie Mamane <lionel@mamane.lu>2012-12-03 14:23:42 +0100
commit6a9ee33ac962539d5533fd8392a97a7ccdd4e278 (patch)
tree3b842ba13d1b6681cc08722d5e1ed3c6058deb52 /connectivity
parentd43d756500114738ac845c6e24cba8c897ed659d (diff)
catch exceptions by (const) reference
Change-Id: Ie42b169437c89d0d94f6749bee21301fa44b98cf
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/jdbc/JStatement.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/jdbc/JStatement.cxx b/connectivity/source/drivers/jdbc/JStatement.cxx
index 0745068bb51e..e0d4c45b727a 100644
--- a/connectivity/source/drivers/jdbc/JStatement.cxx
+++ b/connectivity/source/drivers/jdbc/JStatement.cxx
@@ -652,11 +652,11 @@ sal_Bool java_sql_Statement_Base::convertFastPropertyValue(
;
}
}
- catch(::com::sun::star::lang::IllegalArgumentException)
+ catch(const ::com::sun::star::lang::IllegalArgumentException&)
{
throw;
}
- catch(::com::sun::star::uno::Exception)
+ catch(const ::com::sun::star::uno::Exception&)
{
DBG_UNHANDLED_EXCEPTION();
}