summaryrefslogtreecommitdiff
path: root/l10ntools/source/helper.cxx
diff options
context:
space:
mode:
authorZolnai Tamás <zolnaitamas2000@gmail.com>2013-03-31 22:10:05 +0200
committerZolnai Tamás <zolnaitamas2000@gmail.com>2013-03-31 22:10:55 +0200
commitc4745302f3bf6e9d4f94033391979deb8437c788 (patch)
tree75e0092795d16f5402dc1cb636f16b70c725d83e /l10ntools/source/helper.cxx
parentd7a301476dfbec6a70e45808602838078bad780a (diff)
There is no <Arg> tag in xcu localizable strings
So no reason to work with it. So can use helper function after make it to handle single quote. Change-Id: Ic2eb901148c3ae31316607b41350bbad79a639db
Diffstat (limited to 'l10ntools/source/helper.cxx')
-rw-r--r--l10ntools/source/helper.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/l10ntools/source/helper.cxx b/l10ntools/source/helper.cxx
index 08a256013bcd..69163d0e38ae 100644
--- a/l10ntools/source/helper.cxx
+++ b/l10ntools/source/helper.cxx
@@ -27,6 +27,9 @@ OString QuotHTML(const OString &rString)
case '"':
sReturn.append("&quot;");
break;
+ case '\'':
+ sReturn.append("&apos;");
+ break;
case '&':
if (rString.match("&amp;", i))
sReturn.append('&');