summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/postgresql/pq_connection.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/postgresql/pq_connection.cxx')
-rw-r--r--connectivity/source/drivers/postgresql/pq_connection.cxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_connection.cxx b/connectivity/source/drivers/postgresql/pq_connection.cxx
index 0b5ea84bc6fa..56670cef1aa5 100644
--- a/connectivity/source/drivers/postgresql/pq_connection.cxx
+++ b/connectivity/source/drivers/postgresql/pq_connection.cxx
@@ -50,7 +50,6 @@
#include "pq_xviews.hxx"
#include "pq_xusers.hxx"
-#include <rtl/ustrbuf.hxx>
#include <rtl/strbuf.hxx>
#include <rtl/uuid.h>
#include <rtl/bootstrap.hxx>
@@ -576,11 +575,7 @@ void Connection::initialize( const Sequence< Any >& aArguments )
if (isLog(&m_settings, LogLevel::Info))
{
- OUStringBuffer buf( 128 );
- buf.append( "connection to '" );
- buf.append( url );
- buf.append( "' successfully opened" );
- log(&m_settings, LogLevel::Info, buf.makeStringAndClear());
+ log(&m_settings, LogLevel::Info, "connection to '" + url + "' successfully opened");
}
}