summaryrefslogtreecommitdiffstats
path: root/connectivity
diff options
context:
space:
mode:
authorPKEuS <philipp.kloke@web.de>2012-02-05 11:53:47 +0100
committerJulien Nabet <serval2412@yahoo.fr>2012-02-05 14:29:54 +0100
commitba5a460bc15393cc64522f288b7b2b678d6fcc99 (patch)
treea4a322e415f301aa5d253f6578983d7ca5cbce72 /connectivity
parentfdo#42656 fix RTF export of picture frame shape type (diff)
downloadcore-ba5a460bc15393cc64522f288b7b2b678d6fcc99.tar.gz
core-ba5a460bc15393cc64522f288b7b2b678d6fcc99.zip
Fixed cppcheck messages about rethrowing copy of exception.
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/postgresql/pq_xtable.cxx2
-rw-r--r--connectivity/source/drivers/postgresql/pq_xview.cxx2
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;
}
}