summaryrefslogtreecommitdiff
path: root/sc/source/ui/dbgui/asciiopt.cxx
diff options
context:
space:
mode:
authorEike Rathke <er@openoffice.org>2001-08-06 09:21:02 +0000
committerEike Rathke <er@openoffice.org>2001-08-06 09:21:02 +0000
commita26b1a2574289ea125f114a8878615d9870f0819 (patch)
treefe3bd694ea55a6819b3973f5ac0f2ce1cc45e3d0 /sc/source/ui/dbgui/asciiopt.cxx
parent7a6a4175454ef661ef1a7110e66a250b07d90d74 (diff)
#90249# performance: transliteration isEqual()/isMatch() instead of compareString()==0
Diffstat (limited to 'sc/source/ui/dbgui/asciiopt.cxx')
-rw-r--r--sc/source/ui/dbgui/asciiopt.cxx11
1 files changed, 5 insertions, 6 deletions
diff --git a/sc/source/ui/dbgui/asciiopt.cxx b/sc/source/ui/dbgui/asciiopt.cxx
index 1293a25aac1e..3a0c7105c4fd 100644
--- a/sc/source/ui/dbgui/asciiopt.cxx
+++ b/sc/source/ui/dbgui/asciiopt.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: asciiopt.cxx,v $
*
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: nn $ $Date: 2001-07-12 10:47:28 $
+ * last change: $Author: er $ $Date: 2001-08-06 10:19:06 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -501,11 +501,10 @@ sal_Unicode lcl_CharFromCombo( ComboBox& rCombo, const String& rList )
{
xub_StrLen nCount = rList.GetTokenCount('\t');
for ( xub_StrLen i=0; i<nCount; i+=2 )
- if ( ScGlobal::pTransliteration->compareString(
- aStr, rList.GetToken(i,'\t') ) == COMPARE_EQUAL )
- {
+ {
+ if ( ScGlobal::pTransliteration->isEqual( aStr, rList.GetToken(i,'\t') ) )
c = (sal_Unicode)rList.GetToken(i+1,'\t').ToInt32();
- }
+ }
if (!c)
c = (sal_Unicode) aStr.ToInt32(); // Ascii
}