summaryrefslogtreecommitdiff
path: root/sc/source/filter/inc/xetable.hxx
diff options
context:
space:
mode:
authorKatarina Machalkova <kmachalkova@suse.cz>2010-10-13 17:59:35 +0200
committerKatarina Machalkova <kmachalkova@suse.cz>2010-10-13 19:51:45 +0200
commitde8ff12503d6a6763d6f4a1a9490080410b48f52 (patch)
tree4b4db3ed5e7b94faa258282df0d358e7ac9202d4 /sc/source/filter/inc/xetable.hxx
parentab08a3cc4dd0900abd06e6e1de1b90dabdbfe9f9 (diff)
Merged xlsx-shared-xlsx-export-perf-rowbuffer.diff from ooo-build
Diffstat (limited to 'sc/source/filter/inc/xetable.hxx')
-rw-r--r--sc/source/filter/inc/xetable.hxx11
1 files changed, 6 insertions, 5 deletions
diff --git a/sc/source/filter/inc/xetable.hxx b/sc/source/filter/inc/xetable.hxx
index 51187a9b0178..0ace2a942640 100644
--- a/sc/source/filter/inc/xetable.hxx
+++ b/sc/source/filter/inc/xetable.hxx
@@ -38,6 +38,9 @@
#include "xeformula.hxx"
#include "xestyle.hxx"
+#include <boost/shared_ptr.hpp>
+#include <map>
+
/* ============================================================================
Export of cell tables including row and column description.
- Managing all used and formatted cells in a sheet.
@@ -980,14 +983,12 @@ private:
XclExpRow& GetOrCreateRow( sal_uInt16 nXclRow, bool bRowAlwaysEmpty );
private:
- typedef XclExpRecordList< XclExpRow > XclExpRowList;
- typedef XclExpRowList::RecordRefType XclExpRowRef;
+ typedef ::boost::shared_ptr<XclExpRow> RowRef;
+ typedef ::std::map<sal_uInt32, RowRef> RowMap;
- XclExpRowList maRowList; /// List of all ROW records.
+ RowMap maRowMap;
XclExpRowOutlineBuffer maOutlineBfr; /// Buffer for row outline groups.
XclExpDimensions maDimensions; /// DIMENSIONS record for used area.
- XclExpRow* mpLastUsedRow; /// Last used row for faster access.
- sal_uInt16 mnLastUsedXclRow; /// Last used row for faster access.
};
// ============================================================================