[Libreoffice-commits] core.git: sw/source

Caolán McNamara caolanm at redhat.com
Tue Mar 27 19:27:29 UTC 2018


 sw/source/filter/html/wrthtml.cxx |    8 --------
 1 file changed, 8 deletions(-)

New commits:
commit 2dcd003dcdc6f96181b1f18cf97f01cc49aba3a7
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Mar 27 15:40:30 2018 +0100

    ditch HelpEx hack
    
    in since initial commit, no sign of it in use
    
    Change-Id: I7f4a072f5d8620c088ec4750c8dbcefc89667cf5
    Reviewed-on: https://gerrit.libreoffice.org/51958
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sw/source/filter/html/wrthtml.cxx b/sw/source/filter/html/wrthtml.cxx
index 5abdad007fe2..0bfd00b08f17 100644
--- a/sw/source/filter/html/wrthtml.cxx
+++ b/sw/source/filter/html/wrthtml.cxx
@@ -273,14 +273,6 @@ ErrCode SwHTMLWriter::WriteStream()
     if( IsHTMLMode(HTMLMODE_SOME_STYLES | HTMLMODE_FULL_STYLES) )
         m_nHTMLMode |= HTMLMODE_PRINT_EXT;
 
-    const sal_Char *pHelpHack = getenv( "HelpEx" );
-    if( pHelpHack )
-    {
-        OString aTmp(pHelpHack);
-        if (aTmp.equalsIgnoreAsciiCase("Hilfe"))
-            m_nHTMLMode |= HTMLMODE_NO_BR_AT_PAREND;
-    }
-
     m_eCSS1Unit = SW_MOD()->GetMetric( pDoc->getIDocumentSettingAccess().get(DocumentSettingId::HTML_MODE) );
 
     bool bWriteUTF8 = bWriteClipboardDoc;


More information about the Libreoffice-commits mailing list