summaryrefslogtreecommitdiff
path: root/sc/source/filter/xml/XMLStylesExportHelper.hxx
diff options
context:
space:
mode:
authorSascha Ballach <sab@openoffice.org>2000-12-18 13:14:24 +0000
committerSascha Ballach <sab@openoffice.org>2000-12-18 13:14:24 +0000
commitbe10c3ab725b749192c372b7909513efa85a3fdc (patch)
tree60143617459e922aaa53d5eb4156b7ad25553856 /sc/source/filter/xml/XMLStylesExportHelper.hxx
parentcd152b2340c67d0e8a28be4b5d964621f88b312c (diff)
change from a vector to in this special cases faster list
Diffstat (limited to 'sc/source/filter/xml/XMLStylesExportHelper.hxx')
-rw-r--r--sc/source/filter/xml/XMLStylesExportHelper.hxx18
1 files changed, 11 insertions, 7 deletions
diff --git a/sc/source/filter/xml/XMLStylesExportHelper.hxx b/sc/source/filter/xml/XMLStylesExportHelper.hxx
index 686a35f31cc1..cafeadb7d35a 100644
--- a/sc/source/filter/xml/XMLStylesExportHelper.hxx
+++ b/sc/source/filter/xml/XMLStylesExportHelper.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: XMLStylesExportHelper.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: sab $ $Date: 2000-11-16 18:14:35 $
+ * last change: $Author: sab $ $Date: 2000-12-18 14:14:24 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -65,6 +65,9 @@
#ifndef __SGI_STL_VECTOR
#include <stl/vector>
#endif
+#ifndef __SGI_STL_LIST
+#include <stl/list>
+#endif
#ifndef _COM_SUN_STAR_UNO_ANY_H_
#include <com/sun/star/uno/Any.h>
@@ -148,11 +151,12 @@ struct ScMyRowFormatRange
ScMyRowFormatRange();
};
-typedef std::vector<ScMyRowFormatRange> ScMyRowFormatRangesVec;
+typedef std::list<ScMyRowFormatRange> ScMyRowFormatRangesList;
class ScRowFormatRanges
{
- ScMyRowFormatRangesVec aRowFormatRanges;
+ ScMyRowFormatRangesList aRowFormatRanges;
+ sal_uInt32 nSize;
public:
ScRowFormatRanges();
@@ -178,12 +182,12 @@ struct ScMyFormatRange
ScMyFormatRange();
};
-typedef std::vector<ScMyFormatRange> ScMyFormatRangeAddresses;
-typedef std::vector<ScMyFormatRangeAddresses*> ScMyFormatRangeVectorVec;
+typedef std::list<ScMyFormatRange> ScMyFormatRangeAddresses;
+typedef std::vector<ScMyFormatRangeAddresses*> ScMyFormatRangeListVec;
class ScFormatRangeStyles
{
- ScMyFormatRangeVectorVec aTables;
+ ScMyFormatRangeListVec aTables;
ScMyOUStringVec aStyleNames;
ScMyOUStringVec aAutoStyleNames;