From 058cd96131e38a8298bce201225b4415de048c2b Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Thu, 22 May 2014 11:54:26 +0200 Subject: cppcheck: Exception should be caught by reference Change-Id: Ib92122311186da16fbef9441560bb7a013072e76 --- connectivity/source/drivers/firebird/Blob.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'connectivity') diff --git a/connectivity/source/drivers/firebird/Blob.cxx b/connectivity/source/drivers/firebird/Blob.cxx index c11616ea31ed..4551d8d71188 100644 --- a/connectivity/source/drivers/firebird/Blob.cxx +++ b/connectivity/source/drivers/firebird/Blob.cxx @@ -112,7 +112,7 @@ void SAL_CALL Blob::disposing(void) { closeBlob(); } - catch (SQLException e) + catch (SQLException &e) { // we cannot throw any exceptions here... SAL_WARN("connectivity.firebird", "isc_close_blob failed\n" << @@ -256,4 +256,4 @@ void SAL_CALL Blob::closeInput() closeBlob(); } -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ \ No newline at end of file +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit