summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorArmin Weiss <aw@openoffice.org>2002-05-31 10:23:27 +0000
committerArmin Weiss <aw@openoffice.org>2002-05-31 10:23:27 +0000
commitab3ee0338c54705a5245afd4347bef6cd3db19b2 (patch)
tree1df07ed71f629a63f36da5b569aafa9324e0991c /svx
parent791d88e19b64dc9f00b801a782afe0a000d8d3f5 (diff)
#90353# deleting pMirrorPolygon, pMirroredPolygon, pMarkedObjs needs delete[] operator
Diffstat (limited to 'svx')
-rw-r--r--svx/source/engine3d/view3d.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/svx/source/engine3d/view3d.cxx b/svx/source/engine3d/view3d.cxx
index f24c9af0db68..7734f6c56a8b 100644
--- a/svx/source/engine3d/view3d.cxx
+++ b/svx/source/engine3d/view3d.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: view3d.cxx,v $
*
- * $Revision: 1.13 $
+ * $Revision: 1.14 $
*
- * last change: $Author: thb $ $Date: 2001-07-17 07:04:30 $
+ * last change: $Author: aw $ $Date: 2002-05-31 11:23:27 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1800,9 +1800,9 @@ void E3dView::ShowMirrored ()
E3dView::~E3dView ()
{
- __DELETE(nPolyCnt) pMirrorPolygon;
- __DELETE(nPolyCnt) pMirroredPolygon;
- __DELETE(nPolyCnt) pMarkedObjs;
+ /*#90353#*/delete [] pMirrorPolygon;
+ /*#90353#*/delete [] pMirroredPolygon;
+ /*#90353#*/delete [] pMarkedObjs;
}
/*************************************************************************
@@ -1859,9 +1859,9 @@ void E3dView::ShowMirrorPolygons (Point aMirrorPoint1,
void E3dView::ResetCreationActive ()
{
- __DELETE(nPolyCnt) pMirrorPolygon;
- __DELETE(nPolyCnt) pMirroredPolygon;
- __DELETE(nPolyCnt) pMarkedObjs;
+ /*#90353#*/delete [] pMirrorPolygon;
+ /*#90353#*/delete [] pMirroredPolygon;
+ /*#90353#*/delete [] pMarkedObjs;
pMarkedObjs = 0;
pMirrorPolygon =