summaryrefslogtreecommitdiff
path: root/sc/source/filter/html
diff options
context:
space:
mode:
authorTimothy Markle <tmarkle7@gmail.com>2014-02-16 15:28:18 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-02-18 13:02:52 +0000
commite719b2742c39f59f5c928fb10f09545e4139ce69 (patch)
tree80e53b955f44df2bda83687cf7ec5679239c5001 /sc/source/filter/html
parent7a044d08572244931b16f24f3f8cc83111b039f9 (diff)
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@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/filter/html')
-rw-r--r--sc/source/filter/html/htmlexp.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sc/source/filter/html/htmlexp.cxx b/sc/source/filter/html/htmlexp.cxx
index f9a1d82d88ab..78bd44bfe69c 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 );