summaryrefslogtreecommitdiff
path: root/svl/source/misc/sharedstring.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/misc/sharedstring.cxx')
-rw-r--r--svl/source/misc/sharedstring.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/misc/sharedstring.cxx b/svl/source/misc/sharedstring.cxx
index 8389ff836c8f..6a5d3959ba8e 100644
--- a/svl/source/misc/sharedstring.cxx
+++ b/svl/source/misc/sharedstring.cxx
@@ -81,7 +81,7 @@ bool SharedString::operator== ( const SharedString& r ) const
if (mpData->length != r.mpData->length)
return false;
- return rtl_ustr_compare_WithLength(mpData->buffer, mpData->length, r.mpData->buffer, r.mpData->length);
+ return rtl_ustr_reverseCompare_WithLength(mpData->buffer, mpData->length, r.mpData->buffer, r.mpData->length) == 0;
}
return !r.mpData;