summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-05-28 12:50:02 +0200
committerNoel Grandin <noel@peralex.com>2014-05-29 09:01:40 +0200
commitebc0a15515c2e29259a7e229cfbdfb5d26fc3006 (patch)
tree2ce9446ed312a1a7aed53183b19ecc9fefabea8a /connectivity
parentf0ae48b684e89acd7088c31a8feff5fc03d51105 (diff)
remove more unnecesary OUString constructor use
when throwing exceptions Change-Id: I6edfb6b6745499f802b0e3c0e096a36fb7c32aac
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/postgresql/pq_connection.cxx2
-rw-r--r--connectivity/source/drivers/postgresql/pq_xbase.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_connection.cxx b/connectivity/source/drivers/postgresql/pq_connection.cxx
index 8396cfc04544..f54b6f9bbfaa 100644
--- a/connectivity/source/drivers/postgresql/pq_connection.cxx
+++ b/connectivity/source/drivers/postgresql/pq_connection.cxx
@@ -303,7 +303,7 @@ Reference< XPreparedStatement > Connection::prepareCall( const OUString& )
throw (SQLException, RuntimeException, std::exception)
{
throw SQLException(
- OUString( "pq_driver: Callable statements not supported" ),
+ "pq_driver: Callable statements not supported",
Reference< XInterface > (), OUString() , 1, Any() );
}
diff --git a/connectivity/source/drivers/postgresql/pq_xbase.cxx b/connectivity/source/drivers/postgresql/pq_xbase.cxx
index 3539abe8abf3..ee265cedb281 100644
--- a/connectivity/source/drivers/postgresql/pq_xbase.cxx
+++ b/connectivity/source/drivers/postgresql/pq_xbase.cxx
@@ -232,7 +232,7 @@ void ReflectionBase::setName( const OUString& /* aName */ )
throw (::com::sun::star::uno::RuntimeException, std::exception)
{
throw RuntimeException(
- OUString( "pq_sdbc::ReflectionBase::setName not implemented" ),
+ "pq_sdbc::ReflectionBase::setName not implemented",
*this );
//setPropertyValue( getStatics().NAME , makeAny( aName ) );
}