diff options
author | PKEuS <philipp.kloke@web.de> | 2012-02-05 11:53:47 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2012-02-05 14:29:54 +0100 |
commit | ba5a460bc15393cc64522f288b7b2b678d6fcc99 (patch) | |
tree | a4a322e415f301aa5d253f6578983d7ca5cbce72 /connectivity | |
parent | 32fa7e9208b2053d2ff7743b88b0c0edacb8a7e7 (diff) |
Fixed cppcheck messages about rethrowing copy of exception.
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/postgresql/pq_xtable.cxx | 2 | ||||
-rw-r--r-- | connectivity/source/drivers/postgresql/pq_xview.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_xtable.cxx b/connectivity/source/drivers/postgresql/pq_xtable.cxx index e501056c2082..606299e4f33d 100644 --- a/connectivity/source/drivers/postgresql/pq_xtable.cxx +++ b/connectivity/source/drivers/postgresql/pq_xtable.cxx @@ -244,7 +244,7 @@ void Table::rename( const ::rtl::OUString& newName ) OUStringBuffer buf( e.Message ); buf.appendAscii( RTL_CONSTASCII_STRINGPARAM( "(NOTE: Only postgresql server >= V8.1 support changing a table's schema)" ) ); e.Message = buf.makeStringAndClear(); - throw e; + throw; } } diff --git a/connectivity/source/drivers/postgresql/pq_xview.cxx b/connectivity/source/drivers/postgresql/pq_xview.cxx index 6f27f92eb92e..dde838d4cc24 100644 --- a/connectivity/source/drivers/postgresql/pq_xview.cxx +++ b/connectivity/source/drivers/postgresql/pq_xview.cxx @@ -182,7 +182,7 @@ void View::rename( const ::rtl::OUString& newName ) OUStringBuffer buf( e.Message ); buf.appendAscii( RTL_CONSTASCII_STRINGPARAM( "(NOTE: Only postgresql server >= V8.1 support changing a table's schema)" ) ); e.Message = buf.makeStringAndClear(); - throw e; + throw; } } |