fixup startsWith vs == in string comparisons

probably left-over from OUString transition

Change-Id: I29f8f34ad44828608aa16b0b0a0759e887e280af
This commit is contained in:
Lionel Elie Mamane
2016-03-04 09:19:55 +01:00
parent 4d0003df73
commit a55f22ef4c

View File

@@ -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;
}