diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-10-06 09:19:18 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-10-06 14:08:59 +0100 |
commit | e5ab3685550cf35c3eb9cb47530044f2d86433d5 (patch) | |
tree | 8af74840fb61ce4b62b319fe5944dbd70fceeaee | |
parent | 58ff30d1a1b9404255bb0dbca5ed52e8355292a4 (diff) |
Related: coverity#704049 Unchecked return value
surely this should be IsLess not IsEqual, i.e.
see
commit 86a3fe47a66950e26d23d7d7f2680fa7d4fb0839
Date: Sat Oct 4 21:36:27 2014 -0500
coverity#704049 Unchecked return value
and
commit 3edb1dcdc82304c418fc32212bb0bdf2c92e414e
Date: Wed Jun 26 08:32:38 2002 +0000
#99877# Phonetic sorting for Asian languages
Change-Id: I6c78e388e986577c34b37643a877ab7f5c17b173
-rw-r--r-- | sw/source/core/tox/txmsrt.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/tox/txmsrt.cxx b/sw/source/core/tox/txmsrt.cxx index ee76ab11f289..d67d2ef559b6 100644 --- a/sw/source/core/tox/txmsrt.cxx +++ b/sw/source/core/tox/txmsrt.cxx @@ -246,7 +246,7 @@ bool SwTOXSortTabBase::operator<( const SwTOXSortTabBase& rCmp ) // else -> compare AlternativeText if( ( pEnd && pEndCmp ) || ( !pEnd && !pEndCmp ) ) { - return pTOXIntl->IsEqual( GetTxt(), GetLocale(), + return pTOXIntl->IsLess( GetTxt(), GetLocale(), rCmp.GetTxt(), rCmp.GetLocale() ); } if( pEnd && !pEndCmp ) |