sw/source/filter/html/css1atr.cxx | 4 ---- 1 file changed, 4 deletions(-)
New commits: commit 441ef2e9c6e72ea8ae47c707cc29d1cd068a47a1 Author: Timothy Markle <tmark...@gmail.com> Date: Wed Feb 19 22:53:42 2014 +0100 Remove <!-- --> in <style> in writer export to HTML Comment was used to hide <style> contents from old browsers. No longer necessary for browsers now. Change-Id: I1ffe77f9cc05b0c1579be379360a43a227420308 diff --git a/sw/source/filter/html/css1atr.cxx b/sw/source/filter/html/css1atr.cxx index 94e2783..0a80199 100644 --- a/sw/source/filter/html/css1atr.cxx +++ b/sw/source/filter/html/css1atr.cxx @@ -218,8 +218,6 @@ void SwHTMLWriter::OutCSS1_Property( const sal_Char *pProp, sOut.append("<" + OString(OOO_STRING_SVTOOLS_HTML_style) + " " + OString(OOO_STRING_SVTOOLS_HTML_O_type) + "=\"text/css\">"); Strm().WriteCharPtr( sOut.makeStringAndClear().getStr() ); - OutNewLine(); - Strm().WriteChar( '<' ).WriteCharPtr( OOO_STRING_SVTOOLS_HTML_comment ); IncIndentLevel(); } @@ -632,8 +630,6 @@ void SwHTMLWriter::OutStyleSheet( const SwPageDesc& rPageDesc, sal_Bool bUsed ) if( !bFirstCSS1Rule ) { DecIndentLevel(); - OutNewLine(); - Strm().WriteCharPtr( "-->" ); OutNewLine(); HTMLOutFuncs::Out_AsciiTag( Strm(), OOO_STRING_SVTOOLS_HTML_style, sal_False ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits