sw/source/filter/html/htmlfld.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 09dfba6441e0365860d3f2061c05ff2e31bc7799
Author:     Noel Grandin <noel.gran...@collabora.co.uk>
AuthorDate: Thu Apr 13 10:58:38 2023 +0200
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Mon Apr 17 15:28:54 2023 +0200

    fix SwHTMLParser::InsertCommentText
    
    which went wrong in
        commit 7a504c8752bf7c5accbb9bcc33a98f79b31b8bf2
        Author: Palenik Mihály <palenik.mih...@gmail.com>
        Date:   Fri Aug 9 13:51:08 2013 +0200
        Change String to OUString in SwHTMLParser class
    
    Change-Id: I7623e5fe1f4ca07adff8de11d7c01b1cea3733d3
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150334
    Tested-by: Noel Grandin <noel.gran...@collabora.co.uk>
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>
    (cherry picked from commit 20daf957baea858e57630207896152e740a2fd59)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150495
    Reviewed-by: Michael Stahl <michael.st...@allotropia.de>
    Tested-by: Jenkins

diff --git a/sw/source/filter/html/htmlfld.cxx 
b/sw/source/filter/html/htmlfld.cxx
index e5c46119fcbe..305f18a10b0f 100644
--- a/sw/source/filter/html/htmlfld.cxx
+++ b/sw/source/filter/html/htmlfld.cxx
@@ -593,7 +593,7 @@ void SwHTMLParser::InsertCommentText( const char *pTag )
     m_aContents += aToken;
     if( bEmpty && pTag )
     {
-        m_aContents = OUString::Concat("HTML: <") + OUStringChar(*pTag) + ">" 
+ m_aContents;
+        m_aContents = OUString::Concat("HTML: <") + 
OUString::createFromAscii(pTag) + ">" + m_aContents;
     }
 }
 

Reply via email to