summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/postgresql/pq_xindexcolumns.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/postgresql/pq_xindexcolumns.cxx')
-rw-r--r--connectivity/source/drivers/postgresql/pq_xindexcolumns.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_xindexcolumns.cxx b/connectivity/source/drivers/postgresql/pq_xindexcolumns.cxx
index 5717c03dcd17..a80c3952b255 100644
--- a/connectivity/source/drivers/postgresql/pq_xindexcolumns.cxx
+++ b/connectivity/source/drivers/postgresql/pq_xindexcolumns.cxx
@@ -104,10 +104,9 @@ void IndexColumns::refresh()
{
if (isLog(m_pSettings, LogLevel::Info))
{
- OStringBuffer buf;
- buf.append( "sdbcx.IndexColumns get refreshed for index " );
- buf.append( OUStringToOString( m_indexName, ConnectionSettings::encoding ) );
- log( m_pSettings, LogLevel::Info, buf.makeStringAndClear().getStr() );
+ OString buf = "sdbcx.IndexColumns get refreshed for index " +
+ OUStringToOString( m_indexName, ConnectionSettings::encoding );
+ log( m_pSettings, LogLevel::Info, buf.getStr() );
}
osl::MutexGuard guard( m_xMutex->GetMutex() );