fixup startsWith vs == in string comparisons
probably left-over from OUString transition Change-Id: I29f8f34ad44828608aa16b0b0a0759e887e280af
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user