From f2b877fe69bf57f26ec8423627f540f9e58b0c9b Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Fri, 24 Nov 2017 11:14:21 +0200 Subject: Clarify comment Change-Id: I1f0d23cbda3d6729cc858e6bcba4c60fe44bab69 --- svl/source/misc/sharedstring.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/svl/source/misc/sharedstring.cxx b/svl/source/misc/sharedstring.cxx index 9235783ce774..d3b10af4ddb4 100644 --- a/svl/source/misc/sharedstring.cxx +++ b/svl/source/misc/sharedstring.cxx @@ -94,7 +94,8 @@ SharedString& SharedString::operator= ( SharedString&& r ) bool SharedString::operator== ( const SharedString& r ) const { - // Only compare case sensitive strings. + // Compare only the original (not case-folded) string. + if (mpData == r.mpData) return true; -- cgit