diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2014-05-22 11:54:26 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-05-22 12:50:50 +0200 |
commit | 058cd96131e38a8298bce201225b4415de048c2b (patch) | |
tree | 6481e23bafe55d665b886ceed483d743c72564b6 /connectivity | |
parent | 0292b4269ec370818bb1ed48222fade636374a4a (diff) |
cppcheck: Exception should be caught by reference
Change-Id: Ib92122311186da16fbef9441560bb7a013072e76
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/firebird/Blob.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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: */ |