fix previous commit:
Make SbCompare_UString_PropertyValue_Impl a strict weak ordering. Change-Id: I70d639ad44ceb69311c2d5bc1b95c972ad658451
This commit is contained in:
parent
8de787a266
commit
56366fa094
1 changed files with 2 additions and 2 deletions
|
@ -63,11 +63,11 @@ struct SbCompare_UString_PropertyValue_Impl
|
|||
{
|
||||
bool operator() ( const ::rtl::OUString& lhs, PropertyValue* const & rhs )
|
||||
{
|
||||
return lhs.compareTo( rhs->Name );
|
||||
return lhs.compareTo(rhs->Name) < 0;
|
||||
}
|
||||
bool operator() ( PropertyValue* const & lhs, const ::rtl::OUString& rhs )
|
||||
{
|
||||
return !rhs.compareTo( lhs->Name );
|
||||
return lhs->Name.compareTo(rhs) < 0;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue