summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-01-11 01:28:29 +0900
committerKohei Yoshida <kohei.yoshida@suse.com>2012-01-10 16:34:55 -0500
commite882d40de210e3e98a546e89ff7701653c33f1d8 (patch)
tree5a6e30b1e40bf6fda5c668848c9b5264e3e75a5c /sc/source
parentdebb4be8886a4c5fd0a714dfd1b53306b836b800 (diff)
fdo#44616: drop attributes FRAME and RULES of <table> for HTML 3.2
This fixes fdo#44616. HTML 3.2 does not have these attributes: http://www.w3.org/TR/REC-html32
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/filter/html/htmlexp.cxx10
1 files changed, 0 insertions, 10 deletions
diff --git a/sc/source/filter/html/htmlexp.cxx b/sc/source/filter/html/htmlexp.cxx
index 0c27b450f5e3..1f36f9dc8285 100644
--- a/sc/source/filter/html/htmlexp.cxx
+++ b/sc/source/filter/html/htmlexp.cxx
@@ -735,11 +735,6 @@ void ScHTMLExport::WriteTables()
// <TABLE ...>
rtl::OStringBuffer aByteStrOut(OOO_STRING_SVTOOLS_HTML_table);
- // FRAME=VOID, we do the styling of the cells in <TD>
- aByteStrOut.append(' ').append(OOO_STRING_SVTOOLS_HTML_frame).
- append(RTL_CONSTASCII_STRINGPARAM("=\"")).
- append(OOO_STRING_SVTOOLS_HTML_TF_void).append('"');
-
bTabHasGraphics = bTabAlignedLeft = false;
if ( bAll && pDrawLayer )
PrepareGraphics( pDrawLayer, nTab, nStartCol, nStartRow,
@@ -769,11 +764,6 @@ void ScHTMLExport::WriteTables()
append(RTL_CONSTASCII_STRINGPARAM("=\"")).
append(static_cast<sal_Int32>(nColCnt)).append('"');
- // RULES=NONE, we do the styling of the cells in <TD>
- aByteStrOut.append(' ').append(OOO_STRING_SVTOOLS_HTML_O_rules).
- append(RTL_CONSTASCII_STRINGPARAM("=\"")).
- append(OOO_STRING_SVTOOLS_HTML_TR_none).append('"');
-
// BORDER=0, we do the styling of the cells in <TD>
aByteStrOut.append(' ').append(OOO_STRING_SVTOOLS_HTML_O_border).
append(RTL_CONSTASCII_STRINGPARAM("=\"0\""));