summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorFlorian Reuter <freuter@novell.com>2010-09-14 15:03:19 +0200
committerC├ędric Bosdonnat <cedricbosdo@openoffice.org>2010-09-14 15:03:19 +0200
commitbec52f8e61c7e433c32c7adc181ebb647a51c593 (patch)
treeae3e6a1ccd10ffdd2864ba239b784072f65afecd /svtools
parent0b586586c21e59b3b434aea1990ba254a0217d1b (diff)
svtools-svrtf-token-ignore-case.diff:
n#417814
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/svrtf/rtfkeywd.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/svrtf/rtfkeywd.cxx b/svtools/source/svrtf/rtfkeywd.cxx
index 27ce3643f8cf..2b9cb48c0d93 100644
--- a/svtools/source/svrtf/rtfkeywd.cxx
+++ b/svtools/source/svrtf/rtfkeywd.cxx
@@ -1201,13 +1201,13 @@ _Optlink
nRet = ((RTF_TokenEntry*)pFirst)->pUToken->CompareTo(
*((RTF_TokenEntry*)pSecond)->pUToken );
else
- nRet = ((RTF_TokenEntry*)pFirst)->pUToken->CompareToAscii(
+ nRet = ((RTF_TokenEntry*)pFirst)->pUToken->CompareIgnoreCaseToAscii(
((RTF_TokenEntry*)pSecond)->sToken );
}
else
{
if( -1 == ((RTF_TokenEntry*)pSecond)->nToken )
- nRet = -1 * ((RTF_TokenEntry*)pSecond)->pUToken->CompareToAscii(
+ nRet = -1 * ((RTF_TokenEntry*)pSecond)->pUToken->CompareIgnoreCaseToAscii(
((RTF_TokenEntry*)pFirst)->sToken );
else
nRet = strcmp( ((RTF_TokenEntry*)pFirst)->sToken,