diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-06-12 22:13:10 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-06-12 23:25:10 +0200 |
commit | 56366fa094fdeae8f62b55e0ba7b1ef06a582a84 (patch) | |
tree | 47fa9c2bbf38776022077bbd2793a39c0ed57b52 /basic | |
parent | 8de787a2669c2ae375820428009b411c9ab1f2bf (diff) |
fix previous commit:
Make SbCompare_UString_PropertyValue_Impl a strict weak ordering.
Change-Id: I70d639ad44ceb69311c2d5bc1b95c972ad658451
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/classes/propacc.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/basic/source/classes/propacc.cxx b/basic/source/classes/propacc.cxx index b707abc4f0c3..945e719d0d42 100644 --- a/basic/source/classes/propacc.cxx +++ b/basic/source/classes/propacc.cxx @@ -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; } }; |