helpcompiler/source/HelpCompiler.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 186508874e2e4e3b478a4b306cdbb5c50c562313
Author: Andras Timar <andras.ti...@collabora.com>
Date:   Thu Jan 15 08:27:18 2015 +0100

    replace '\n' to space in extended help text
    
    Change-Id: Ida354ee41b4158716ab39a92f009fa7c9a2ce21f
    Reviewed-on: https://gerrit.libreoffice.org/13919
    Tested-by: Andras Timar <andras.ti...@collabora.com>
    Reviewed-by: Andras Timar <andras.ti...@collabora.com>

diff --git a/helpcompiler/source/HelpCompiler.cxx 
b/helpcompiler/source/HelpCompiler.cxx
index 602acce..80c1bc6 100644
--- a/helpcompiler/source/HelpCompiler.cxx
+++ b/helpcompiler/source/HelpCompiler.cxx
@@ -399,6 +399,7 @@ void myparser::traverse( xmlNodePtr parentNode )
         else if (!strcmp(reinterpret_cast<const char*>(test->name), "ahelp"))
         {
             std::string text = dump(test);
+            std::replace(text.begin(), text.end(), '\n', ' ');
             trim(text);
             std::string name;
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to