summaryrefslogtreecommitdiff
path: root/l10ntools/source/helper.cxx
diff options
context:
space:
mode:
authorZolnai Tamás <zolnaitamas2000@gmail.com>2013-05-25 22:23:57 +0200
committerZolnai Tamás <zolnaitamas2000@gmail.com>2013-05-25 22:23:57 +0200
commitf21a2374dc623604d26cec5ec3d5a8f7a8958b63 (patch)
treef3ab96827713fbff85807dc0854a056275adbb76 /l10ntools/source/helper.cxx
parentdc54d78398bc7bf464ac02b241086ed6f44ba2de (diff)
Fix some escaping bug in l10ntools
1. A typo in export.cxx makes not working replacing 2. EscapeAll() ignored single backlash characters Change-Id: I1a5309778acdd601391f643ebf3c66d04a6601d4
Diffstat (limited to 'l10ntools/source/helper.cxx')
-rw-r--r--l10ntools/source/helper.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/l10ntools/source/helper.cxx b/l10ntools/source/helper.cxx
index 6c3a04559078..85bfe4a17f96 100644
--- a/l10ntools/source/helper.cxx
+++ b/l10ntools/source/helper.cxx
@@ -46,6 +46,10 @@ OString unEscapeAll(
sReturn.append(rUnEscaped[nEscapedOne/2]);
++nIndex;
}
+ else
+ {
+ sReturn.append(rText[nIndex]);
+ }
}
else
sReturn.append(rText[nIndex]);