fix previous commit:

Make SbCompare_UString_PropertyValue_Impl a strict weak ordering.

Change-Id: I70d639ad44ceb69311c2d5bc1b95c972ad658451
This commit is contained in:
Michael Stahl 2012-06-12 22:13:10 +02:00
parent 8de787a266
commit 56366fa094

View file

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