connectivity/source/drivers/jdbc/JStatement.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 6a9ee33ac962539d5533fd8392a97a7ccdd4e278
Author: Lionel Elie Mamane <lio...@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();
     }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to