[Libreoffice-commits] .: Branch 'libreoffice-3-5' - sc/source

Kohei Yoshida kohei at kemper.freedesktop.org
Tue Jan 10 13:34:37 PST 2012


 sc/source/filter/html/htmlexp.cxx |   10 ----------
 1 file changed, 10 deletions(-)

New commits:
commit e882d40de210e3e98a546e89ff7701653c33f1d8
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Wed Jan 11 01:28:29 2012 +0900

    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

diff --git a/sc/source/filter/html/htmlexp.cxx b/sc/source/filter/html/htmlexp.cxx
index 0c27b45..1f36f9d 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\""));


More information about the Libreoffice-commits mailing list