summaryrefslogtreecommitdiff
path: root/unotools/source/i18n
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-02-12 12:22:36 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-02-12 12:22:36 +0000
commite7aafabecc3c0fcf5136f0b035c4bb00f3ebde04 (patch)
treef5619310e7b99e7777c514e1cc0b3e28ce8ab990 /unotools/source/i18n
parent099e2bfe4f979446cf3b7cdc6babcfc852c3889a (diff)
INTEGRATION: CWS sw8u10stopper_SRC680 (1.15.4.1.2); FILE MERGED
2008/01/31 08:42:09 ama 1.15.4.1.2.2: Fix #i85684#: Typo 2008/01/31 07:50:34 ama 1.15.4.1.2.1: Fix #i85684#: Loop with special chars in replacement
Diffstat (limited to 'unotools/source/i18n')
-rw-r--r--unotools/source/i18n/textsearch.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/unotools/source/i18n/textsearch.cxx b/unotools/source/i18n/textsearch.cxx
index 7e53072b5c0d..b4961e9c29e3 100644
--- a/unotools/source/i18n/textsearch.cxx
+++ b/unotools/source/i18n/textsearch.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: textsearch.cxx,v $
*
- * $Revision: 1.16 $
+ * $Revision: 1.17 $
*
- * last change: $Author: vg $ $Date: 2008-01-29 08:03:54 $
+ * last change: $Author: vg $ $Date: 2008-02-12 13:22:36 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -376,6 +376,8 @@ void TextSearch::ReplaceBackReferences( String& rReplaceStr, const String &rStr,
break;
}
}
+ else
+ ++nPos;
}
else
{
@@ -401,6 +403,8 @@ void TextSearch::ReplaceBackReferences( String& rReplaceStr, const String &rStr,
break;
}
}
+ else
+ ++nPos;
}
}
}