summaryrefslogtreecommitdiffstats
path: root/svx/inc/xpolyimp.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/inc/xpolyimp.hxx')
-rwxr-xr-x[-rw-r--r--]svx/inc/xpolyimp.hxx29
1 files changed, 6 insertions, 23 deletions
diff --git a/svx/inc/xpolyimp.hxx b/svx/inc/xpolyimp.hxx
index 7b7f85110558..89bb149e32a6 100644..100755
--- a/svx/inc/xpolyimp.hxx
+++ b/svx/inc/xpolyimp.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -30,16 +31,8 @@
#include <tools/gen.hxx>
#include <svx/xpoly.hxx>
+#include <vector>
-/*************************************************************************
-|*
-|* class ImpXPolygon
-|*
-|* Beschreibung
-|* Ersterstellung 08.11.94
-|* Letzte Aenderung Joe 26.09.95
-|*
-*************************************************************************/
class ImpXPolygon
{
public:
@@ -73,17 +66,7 @@ public:
void Remove( sal_uInt16 nPos, sal_uInt16 nCount );
};
-
-/*************************************************************************
-|*
-|* class ImpXPolyPolygon
-|*
-|* Beschreibung
-|* Ersterstellung 08.11.94
-|* Letzte Aenderung Joe 26-09-1995
-|*
-*************************************************************************/
-DECLARE_LIST( XPolygonList, XPolygon* )
+typedef ::std::vector< XPolygon* > XPolygonList;
class ImpXPolyPolygon
{
@@ -91,9 +74,7 @@ public:
XPolygonList aXPolyList;
sal_uInt16 nRefCount;
- ImpXPolyPolygon( sal_uInt16 nInitSize = 16, sal_uInt16 nResize = 16 ) :
- aXPolyList( 1024, nInitSize, nResize )
- { nRefCount = 1; }
+ ImpXPolyPolygon() { nRefCount = 1; }
ImpXPolyPolygon( const ImpXPolyPolygon& rImpXPolyPoly );
~ImpXPolyPolygon();
@@ -104,3 +85,5 @@ public:
#endif // _XPOLYIMP_HXX
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */