sc/source/filter/html/htmlexp.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
New commits: commit e719b2742c39f59f5c928fb10f09545e4139ce69 Author: Timothy Markle <tmark...@gmail.com> Date: Sun Feb 16 15:28:18 2014 +0100 Remove <!-- --> in <style> in calc export to HTML Comment was used to hide <style> contents from old browsers. No longer necessary for browsers now. Change-Id: I49290b8dc45db173dc6f29d131d5001be2b27b6e Reviewed-on: https://gerrit.libreoffice.org/8077 Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/sc/source/filter/html/htmlexp.cxx b/sc/source/filter/html/htmlexp.cxx index f9a1d82..78bd44b 100644 --- a/sc/source/filter/html/htmlexp.cxx +++ b/sc/source/filter/html/htmlexp.cxx @@ -367,7 +367,7 @@ void ScHTMLExport::WriteHeader() IncIndent(1); rStrm.WriteCharPtr( "<" ).WriteCharPtr( OOO_STRING_SVTOOLS_HTML_style ).WriteCharPtr( " " ).WriteCharPtr( OOO_STRING_SVTOOLS_HTML_O_type ).WriteCharPtr( "=\"text/css\">" ); - rStrm.WriteCharPtr( sMyBegComment ); OUT_LF(); + OUT_LF(); rStrm.WriteCharPtr( OOO_STRING_SVTOOLS_HTML_body ).WriteCharPtr( "," ).WriteCharPtr( OOO_STRING_SVTOOLS_HTML_division ).WriteCharPtr( "," ).WriteCharPtr( OOO_STRING_SVTOOLS_HTML_table ).WriteCharPtr( "," ) .WriteCharPtr( OOO_STRING_SVTOOLS_HTML_thead ).WriteCharPtr( "," ).WriteCharPtr( OOO_STRING_SVTOOLS_HTML_tbody ).WriteCharPtr( "," ).WriteCharPtr( OOO_STRING_SVTOOLS_HTML_tfoot ).WriteCharPtr( "," ) .WriteCharPtr( OOO_STRING_SVTOOLS_HTML_tablerow ).WriteCharPtr( "," ).WriteCharPtr( OOO_STRING_SVTOOLS_HTML_tableheader ).WriteCharPtr( "," ) @@ -394,8 +394,6 @@ void ScHTMLExport::WriteHeader() } rStrm.WriteCharPtr( "; " ).WriteCharPtr( sFontSize ) .WriteCharPtr( GetFontSizeCss( ( sal_uInt16 ) aHTMLStyle.nFontHeight ) ).WriteCharPtr( " }" ); - OUT_LF(); - rStrm.WriteCharPtr( sMyEndComment ); IncIndent(-1); OUT_LF(); TAG_OFF_LF( OOO_STRING_SVTOOLS_HTML_style ); IncIndent(-1); OUT_LF(); TAG_OFF_LF( OOO_STRING_SVTOOLS_HTML_head );
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits