diff options
author | Noel Grandin <noel@peralex.com> | 2013-11-20 13:46:07 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-20 13:56:09 +0200 |
commit | f8b22654197178a441d383398b515bb2fb6deaf2 (patch) | |
tree | 5bc460ea1a3a2016172cd2db2646937822d8a894 /connectivity/source/drivers/postgresql/pq_xcolumns.cxx | |
parent | 9cb0fc7801db40ab337c20591ec4674b941ba01a (diff) |
remove RTL_CONSTASCII_STRINGPARAM in OUString::matchAsciiL calls
Convert code like:
defaultValue.matchAsciiL( RTL_CONSTASCII_STRINGPARAM( "nextval(" ) );
to:
defaultValue.startsWith( "nextval(" );
Change-Id: I77bdcbf46bec6ded3c16a8248634b1424a1eb4f0
Diffstat (limited to 'connectivity/source/drivers/postgresql/pq_xcolumns.cxx')
-rw-r--r-- | connectivity/source/drivers/postgresql/pq_xcolumns.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_xcolumns.cxx b/connectivity/source/drivers/postgresql/pq_xcolumns.cxx index a3dccb4fc55f..a7ec8884a635 100644 --- a/connectivity/source/drivers/postgresql/pq_xcolumns.cxx +++ b/connectivity/source/drivers/postgresql/pq_xcolumns.cxx @@ -94,7 +94,7 @@ static Any isCurrency( const OUString & typeName ) static Any isAutoIncrement( const OUString & defaultValue ) { - sal_Bool ret = defaultValue.matchAsciiL( RTL_CONSTASCII_STRINGPARAM( "nextval(" ) ); + sal_Bool ret = defaultValue.startsWith( "nextval(" ); // printf( "%s %d\n", // OUStringToOString(defaultValue, RTL_TEXTENCODING_ASCII_US).getStr(), // ret ); |