summaryrefslogtreecommitdiff
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:35:33 -0500
commit9a2472d49299c4a8b804d291edb48e752d62d763 (patch)
treef2da090b1431b95a2454499b41789ff317bbb2fa
parent0e898354fc76339a9a007b30f1ebe123981d0426 (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
-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 c48c570152f1..ec550e2e9703 100644
--- a/sc/source/filter/html/htmlexp.cxx
+++ b/sc/source/filter/html/htmlexp.cxx
@@ -736,11 +736,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,
@@ -770,11 +765,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\""));