[Libreoffice-commits] .: Branch 'feature/killsdf' - l10ntools/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Sun Nov 18 13:52:52 PST 2012
l10ntools/source/treemerge.cxx | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit 3f469dd69c2eb9d8f193da7f88d05719762b600c
Author: Zolnai Tamás <zolnaitamas2000g at gmail.com>
Date: Sun Nov 18 22:49:36 2012 +0100
Fix some encoding problem in treemerge
Change-Id: I275ccba8f07ccaba1ead0ad83a382d3ad19c722a
diff --git a/l10ntools/source/treemerge.cxx b/l10ntools/source/treemerge.cxx
index 8555c8f..622564c 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;
}
More information about the Libreoffice-commits
mailing list