diff options
author | Tor Lillqvist <tml@collabora.com> | 2017-11-24 11:14:21 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2017-11-24 22:59:51 +0200 |
commit | f2b877fe69bf57f26ec8423627f540f9e58b0c9b (patch) | |
tree | 1b5756f0db97c19d60c173b7b21b40d0122a8ff4 /svl | |
parent | bb4cd5271e38ac69b1a9a8738bfdd7e13189f1f4 (diff) |
Clarify comment
Change-Id: I1f0d23cbda3d6729cc858e6bcba4c60fe44bab69
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/misc/sharedstring.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
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; |