l10ntools/source/treemerge.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 3f469dd69c2eb9d8f193da7f88d05719762b600c
Author: Zolnai Tamás <zolnaitamas20...@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;
                 }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to