summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-10-07 11:34:38 +0200
committerThomas Arnhold <thomas@arnhold.org>2013-10-07 11:53:34 +0200
commit49bae3b37fba86f9ca84a317d6c1dd7d41736eae (patch)
treee9fc614c76168bf1cc4433d5eb2c97ffe088ac4f
parent467aedafa5e19f9928af39c37a04124b3ee0549b (diff)
html export: <table> has no cols attribute in 4.0
Moreover it's rendundant, because we have <col> and <colgroup>. Change-Id: Ic39a5dafdf252a7a7052681e7791aa57b99860bd
-rw-r--r--sc/source/filter/html/htmlexp.cxx11
-rw-r--r--sw/source/filter/html/htmltabw.cxx8
2 files changed, 0 insertions, 19 deletions
diff --git a/sc/source/filter/html/htmlexp.cxx b/sc/source/filter/html/htmlexp.cxx
index f435aa103d80..4794cffa1738 100644
--- a/sc/source/filter/html/htmlexp.cxx
+++ b/sc/source/filter/html/htmlexp.cxx
@@ -724,17 +724,6 @@ void ScHTMLExport::WriteTables()
aByteStrOut.append(' ').append(OOO_STRING_SVTOOLS_HTML_O_cellspacing).
append(RTL_CONSTASCII_STRINGPARAM("=\"")).
append(static_cast<sal_Int32>(nCellSpacing)).append('"');
- // COLS=n
- SCCOL nColCnt = 0;
- SCCOL nCol;
- for ( nCol=nStartCol; nCol<=nEndCol; nCol++ )
- {
- if ( !pDoc->ColHidden(nCol, nTab) )
- ++nColCnt;
- }
- aByteStrOut.append(' ').append(OOO_STRING_SVTOOLS_HTML_O_cols).
- append(RTL_CONSTASCII_STRINGPARAM("=\"")).
- append(static_cast<sal_Int32>(nColCnt)).append('"');
// BORDER=0, we do the styling of the cells in <TD>
aByteStrOut.append(' ').append(OOO_STRING_SVTOOLS_HTML_O_border).
diff --git a/sw/source/filter/html/htmltabw.cxx b/sw/source/filter/html/htmltabw.cxx
index 24e5c5c74e4f..b3b80ad2d009 100644
--- a/sw/source/filter/html/htmltabw.cxx
+++ b/sw/source/filter/html/htmltabw.cxx
@@ -642,14 +642,6 @@ void SwHTMLWrtTable::Write( SwHTMLWriter& rWrt, sal_Int16 eAlign,
rWrt.OutDirection( rWrt.nDirection );
}
- // COLS ausgeben: Nur bei Export ueber Layout, wenn es beim Import
- // vorhanden war.
- if( bColsOption )
- {
- sOut.append(' ').append(OOO_STRING_SVTOOLS_HTML_O_cols).
- append("=\"").append(static_cast<sal_Int32>(aCols.size())).append("\"");
- }
-
// ALIGN= ausgeben
if( text::HoriOrientation::RIGHT == eAlign )
{