[Libreoffice-commits] .: connectivity/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Mon Dec 3 05:24:11 PST 2012
connectivity/source/drivers/jdbc/JStatement.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 6a9ee33ac962539d5533fd8392a97a7ccdd4e278
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date: Mon Dec 3 14:15:36 2012 +0100
catch exceptions by (const) reference
Change-Id: Ie42b169437c89d0d94f6749bee21301fa44b98cf
diff --git a/connectivity/source/drivers/jdbc/JStatement.cxx b/connectivity/source/drivers/jdbc/JStatement.cxx
index 0745068..e0d4c45 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();
}
More information about the Libreoffice-commits
mailing list