From 9a2472d49299c4a8b804d291edb48e752d62d763 Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Wed, 11 Jan 2012 01:28:29 +0900 Subject: fdo#44616: drop attributes FRAME and RULES of for HTML 3.2 This fixes fdo#44616. HTML 3.2 does not have these attributes: http://www.w3.org/TR/REC-html32 --- sc/source/filter/html/htmlexp.cxx | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'sc/source') 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() //
rtl::OStringBuffer aByteStrOut(OOO_STRING_SVTOOLS_HTML_table); - // FRAME=VOID, we do the styling of the cells in
- 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(nColCnt)).append('"'); - // RULES=NONE, we do the styling of the cells in - 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 aByteStrOut.append(' ').append(OOO_STRING_SVTOOLS_HTML_O_border). append(RTL_CONSTASCII_STRINGPARAM("=\"0\"")); -- cgit