summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--l10ntools/source/xmlparse.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/l10ntools/source/xmlparse.cxx b/l10ntools/source/xmlparse.cxx
index eae496a39dba..1fa5920ae997 100644
--- a/l10ntools/source/xmlparse.cxx
+++ b/l10ntools/source/xmlparse.cxx
@@ -1139,7 +1139,7 @@ OString XMLUtil::QuotHTML( const OString &rString )
}
else
sReturn.append(lcl_QuotRange(sSource, nStartPos, nEndPos));
- ++nStartPos;
+ nStartPos = nEndPos;
}
if( nEndPos < sSource.length() )
sReturn.append(lcl_QuotRange(sSource, nEndPos, sSource.length()));