summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
Diffstat (limited to 'svx')
-rw-r--r--svx/source/xoutdev/_xpoly.cxx36
1 files changed, 18 insertions, 18 deletions
diff --git a/svx/source/xoutdev/_xpoly.cxx b/svx/source/xoutdev/_xpoly.cxx
index 371d44dc12e0..d5b608449cfd 100644
--- a/svx/source/xoutdev/_xpoly.cxx
+++ b/svx/source/xoutdev/_xpoly.cxx
@@ -34,31 +34,31 @@
#include <basegfx/numeric/ftools.hxx>
-ImpXPolygon::ImpXPolygon( sal_uInt16 nInitSize, sal_uInt16 _nResize )
+ImpXPolygon::ImpXPolygon(sal_uInt16 nInitSize, sal_uInt16 _nResize)
+ : pPointAry(NULL)
+ , pFlagAry(NULL)
+ , pOldPointAry(NULL)
+ , bDeleteOldPoints(sal_False)
+ , nSize(0)
+ , nResize(_nResize)
+ , nPoints(0)
+ , nRefCount(1)
{
- pPointAry = NULL;
- pFlagAry = NULL;
- bDeleteOldPoints = sal_False;
- nSize = 0;
- nResize = _nResize;
- nPoints = 0;
- nRefCount = 1;
-
- Resize( nInitSize );
+ Resize(nInitSize);
}
ImpXPolygon::ImpXPolygon( const ImpXPolygon& rImpXPoly )
+ : pPointAry(NULL)
+ , pFlagAry(NULL)
+ , pOldPointAry(NULL)
+ , bDeleteOldPoints(sal_False)
+ , nSize(0)
+ , nResize(rImpXPoly.nResize)
+ , nPoints(0)
+ , nRefCount(1)
{
( (ImpXPolygon&) rImpXPoly ).CheckPointDelete();
- pPointAry = NULL;
- pFlagAry = NULL;
- bDeleteOldPoints = sal_False;
- nSize = 0;
- ImpXPolygon::nResize = rImpXPoly.nResize;
- nPoints = 0;
- nRefCount = 1;
-
Resize( rImpXPoly.nSize );
// copy