summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-11-20 11:10:15 +0200
committerNoel Grandin <noel@peralex.com>2013-11-20 13:56:07 +0200
commit5112f6a6c6e4cd76045f31e269a679b50dc83fb2 (patch)
treeed7af465f490d743b06831216243fddbd2e13940 /connectivity
parent0b4b02d9b6cf5b939dc1522d8348e3f4d6f955d4 (diff)
remove RTL_CONSTASCII_STRINGPARAM in OString constructor
Convert code like: OString aKeyName(RTL_CONSTASCII_STRINGPARAM("NDX")); to: OString aKeyName("NDX"); which compiles down to the same code Change-Id: I1780264cae4484fc78f0586b0750c09f2dce135f
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/postgresql/pq_tools.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_tools.cxx b/connectivity/source/drivers/postgresql/pq_tools.cxx
index 2b979b0240ae..f6f929549985 100644
--- a/connectivity/source/drivers/postgresql/pq_tools.cxx
+++ b/connectivity/source/drivers/postgresql/pq_tools.cxx
@@ -532,7 +532,7 @@ void tokenizeSQL( const OString & sql, OStringVector &vec )
{
if( i - start )
vec.push_back( OString( &sql.getStr()[start], i - start ) );
- vec.push_back( OString( RTL_CONSTASCII_STRINGPARAM( "." ) ) );
+ vec.push_back( OString( "." ) );
start = i + 1;
}
}