summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/postgresql
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2016-03-04 09:19:55 +0100
committerLionel Elie Mamane <lionel@mamane.lu>2016-03-04 13:16:40 +0100
commita55f22ef4c5348c37dbf88cf9b493f1b9face467 (patch)
tree43c651584df167dd0e1ebef8f30ca7132063ca2e /connectivity/source/drivers/postgresql
parent4d0003df737040adad22a808ae4c3d150bdd029f (diff)
fixup startsWith vs == in string comparisons
probably left-over from OUString transition Change-Id: I29f8f34ad44828608aa16b0b0a0759e887e280af
Diffstat (limited to 'connectivity/source/drivers/postgresql')
-rw-r--r--connectivity/source/drivers/postgresql/pq_databasemetadata.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx b/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx
index 911f40069a76..fd34a1209809 100644
--- a/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx
+++ b/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx
@@ -1218,11 +1218,11 @@ struct SortInternalSchemasLastAndPublicFirst
a[0] >>= valueA;
b[0] >>= valueB;
bool ret = false;
- if( valueA.startsWith( "public" ) )
+ if( valueA== "public" )
{
ret = true;
}
- else if( valueB.startsWith( "public" ) )
+ else if( valueB == "public" )
{
ret = false;
}