[Libreoffice-commits] core.git: sc/source
Timothy Markle
tmarkle7 at gmail.com
Tue Feb 18 14:03:14 CET 2014
sc/source/filter/html/htmlexp.cxx | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
New commits:
commit e719b2742c39f59f5c928fb10f09545e4139ce69
Author: Timothy Markle <tmarkle7 at 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 <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at 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 );
More information about the Libreoffice-commits
mailing list