summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-02-04 12:25:19 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-02-04 12:25:19 +0000
commit056f304d951fb54f583555377040c74aad65dcc4 (patch)
treea426d8eb0593bb09166453789740412b275f11f2 /i18npool
parente22ac249e5d2c6feb5bf710ccdfe2c52ba9d64f7 (diff)
INTEGRATION: CWS ooo20031216 (1.7.54); FILE MERGED
2003/12/13 14:13:01 waratah 1.7.54.1: #i22301# fix for scoping problems
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/source/transliteration/transliteration_Ignore.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/i18npool/source/transliteration/transliteration_Ignore.cxx b/i18npool/source/transliteration/transliteration_Ignore.cxx
index d5de7592b995..1aeb849261fc 100644
--- a/i18npool/source/transliteration/transliteration_Ignore.cxx
+++ b/i18npool/source/transliteration/transliteration_Ignore.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: transliteration_Ignore.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: rt $ $Date: 2003-05-21 08:06:49 $
+ * last change: $Author: hr $ $Date: 2004-02-04 13:25:19 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -85,8 +85,9 @@ transliteration_Ignore::equals(const OUString& str1, sal_Int32 pos1, sal_Int32 n
const sal_Unicode * p1 = s1.getStr();
const sal_Unicode * p2 = s2.getStr();
sal_Int32 length = Min(s1.getLength(), s2.getLength());
+ sal_Int32 nmatch;
- for (sal_Int32 nmatch = 0; nmatch < length; nmatch++)
+ for ( nmatch = 0; nmatch < length; nmatch++)
if (*p1++ != *p2++)
break;