summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
authorZolnai Tamás <zolnaitamas2000g@gmail.com>2012-11-18 22:49:36 +0100
committerZolnai Tamás <zolnaitamas2000g@gmail.com>2012-11-18 22:51:55 +0100
commit3f469dd69c2eb9d8f193da7f88d05719762b600c (patch)
tree54d574ed4eec9f16ab9108b0b1b47852bb338bea /l10ntools
parentb4cbfaa0d84513415d39965dc300b454e6fedd08 (diff)
Fix some encoding problem in treemerge
Change-Id: I275ccba8f07ccaba1ead0ad83a382d3ad19c722a
Diffstat (limited to 'l10ntools')
-rw-r--r--l10ntools/source/treemerge.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/l10ntools/source/treemerge.cxx b/l10ntools/source/treemerge.cxx
index 8555c8f013a1..622564c5d58c 100644
--- a/l10ntools/source/treemerge.cxx
+++ b/l10ntools/source/treemerge.cxx
@@ -146,7 +146,9 @@ namespace
replaceAll("$[officeversion]","%PRODUCTVERSION");
xmlNodeSetContent(
pReturn,
- reinterpret_cast<const xmlChar*>( sNewTitle.getStr() ));
+ xmlEncodeSpecialChars( NULL,
+ reinterpret_cast<const xmlChar*>(
+ sNewTitle.getStr() )));
xmlFree( sTitle );
break;
}