summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2012-10-04 16:44:54 +0100
committerNoel Power <noel.power@suse.com>2012-10-04 16:44:54 +0100
commit743e9b1b63574fa79aff934369454868895d510c (patch)
treec4f45e5219bc1a7f0b3b9b9856eff193cbb18c32
parentb8e55d021ff3100818f6160cfb6dd2685eb08c26 (diff)
Revert "really export default row heights for xlsx fdo#55621" wrong branch
-rw-r--r--sc/source/filter/excel/xetable.cxx7
-rw-r--r--sc/source/filter/inc/xetable.hxx2
2 files changed, 1 insertions, 8 deletions
diff --git a/sc/source/filter/excel/xetable.cxx b/sc/source/filter/excel/xetable.cxx
index 793155a616ce..e3967f2bc561 100644
--- a/sc/source/filter/excel/xetable.cxx
+++ b/sc/source/filter/excel/xetable.cxx
@@ -2434,13 +2434,6 @@ void XclExpCellTable::Save( XclExpStream& rStrm )
void XclExpCellTable::SaveXml( XclExpXmlStream& rStrm )
{
- // DEFAULT row height
- XclExpDefaultRowData& rDefData = mxDefrowheight->GetDefaultData();
- sax_fastparser::FSHelperPtr& rWorksheet = rStrm.GetCurrentStream();
- rWorksheet->startElement( XML_sheetFormatPr,
- XML_defaultRowHeight, OString::valueOf( (double) rDefData.mnHeight / 20.0 ).getStr(), FSEND );
- rWorksheet->endElement( XML_sheetFormatPr );
-
maColInfoBfr.SaveXml( rStrm );
maRowBfr.SaveXml( rStrm );
}
diff --git a/sc/source/filter/inc/xetable.hxx b/sc/source/filter/inc/xetable.hxx
index 291c37ff4841..33b7b2c2fa77 100644
--- a/sc/source/filter/inc/xetable.hxx
+++ b/sc/source/filter/inc/xetable.hxx
@@ -851,7 +851,7 @@ public:
/** Sets the passed default data as current record contents. */
void SetDefaultData( const XclExpDefaultRowData& rDefData );
- XclExpDefaultRowData& GetDefaultData() { return maDefData; }
+
private:
/** Writes the contents of the record. */
virtual void WriteBody( XclExpStream& rStrm );