summaryrefslogtreecommitdiff
path: root/sc/source/filter/xml/XMLTableShapeResizer.hxx
diff options
context:
space:
mode:
authorSascha Ballach <sab@openoffice.org>2001-07-31 14:41:16 +0000
committerSascha Ballach <sab@openoffice.org>2001-07-31 14:41:16 +0000
commit8e5874c8845461a9f7f66476e7d1932d92925ade (patch)
tree12479a8f09b3ed212bd22ddc3e1cdcea080a9599 /sc/source/filter/xml/XMLTableShapeResizer.hxx
parentc4f1c31c2e898dbd70b725b6722e4b28ba7fd555 (diff)
#86214#; no longer necessary
Diffstat (limited to 'sc/source/filter/xml/XMLTableShapeResizer.hxx')
-rw-r--r--sc/source/filter/xml/XMLTableShapeResizer.hxx18
1 files changed, 10 insertions, 8 deletions
diff --git a/sc/source/filter/xml/XMLTableShapeResizer.hxx b/sc/source/filter/xml/XMLTableShapeResizer.hxx
index 9e9ccdaaf48a..8661d3d93139 100644
--- a/sc/source/filter/xml/XMLTableShapeResizer.hxx
+++ b/sc/source/filter/xml/XMLTableShapeResizer.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: XMLTableShapeResizer.hxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: sab $ $Date: 2001-07-23 15:24:06 $
+ * last change: $Author: sab $ $Date: 2001-07-31 15:41:15 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -71,8 +71,8 @@
#ifndef _COM_SUN_STAR_SHEET_XSPREADSHEET_HPP_
#include <com/sun/star/sheet/XSpreadsheet.hpp>
#endif
-#ifndef __SGI_STL_VECTOR
-#include <vector>
+#ifndef __SGI_STL_LIST
+#include <list>
#endif
class ScXMLImport;
@@ -83,14 +83,16 @@ struct ScMyToResizeShape
{
com::sun::star::uno::Reference <com::sun::star::drawing::XShape> xShape;
rtl::OUString sName;
- rtl::OUString sRangeList;
+ rtl::OUString* pRangeList;
com::sun::star::table::CellAddress aEndCell;
com::sun::star::table::CellAddress aStartCell;
sal_Int32 nEndX;
sal_Int32 nEndY;
+
+ ScMyToResizeShape() : pRangeList(NULL) {}
};
-typedef std::vector<ScMyToResizeShape> ScMyToResizeShapes;
+typedef std::list<ScMyToResizeShape> ScMyToResizeShapes;
class ScMyShapeResizer
{
@@ -101,14 +103,14 @@ class ScMyShapeResizer
sal_Bool IsOLE(com::sun::star::uno::Reference< com::sun::star::drawing::XShape >& rShape) const;
void CreateChartListener(ScDocument* pDoc,
const rtl::OUString& rName,
- const rtl::OUString& rRangeList);
+ const rtl::OUString* pRangeList);
public:
ScMyShapeResizer(ScXMLImport& rImport);
~ScMyShapeResizer();
void AddShape(com::sun::star::uno::Reference <com::sun::star::drawing::XShape>& rShape,
const rtl::OUString& rName,
- const rtl::OUString& rRangeList,
+ rtl::OUString* pRangeList,
com::sun::star::table::CellAddress& rStartAddress,
com::sun::star::table::CellAddress& rEndAddress,
sal_Int32 nEndX, sal_Int32 nEndY);