diff options
author | Kai Ahrens <ka@openoffice.org> | 2002-05-29 12:26:27 +0000 |
---|---|---|
committer | Kai Ahrens <ka@openoffice.org> | 2002-05-29 12:26:27 +0000 |
commit | a37ccbd34a9259866705555702ef8bb39a6e9009 (patch) | |
tree | 0f61e7f166e75cac1f5feef28cf42b2f2a6df74b /svx | |
parent | 98e465ffd27c696d7bba76c92dd4a37e523cfd03 (diff) |
#90353#: correct usage of array new/delete
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/xoutdev/_xpoly.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/xoutdev/_xpoly.cxx b/svx/source/xoutdev/_xpoly.cxx index 984bda6c098c..621c1e1c59f9 100644 --- a/svx/source/xoutdev/_xpoly.cxx +++ b/svx/source/xoutdev/_xpoly.cxx @@ -2,9 +2,9 @@ * * $RCSfile: _xpoly.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: aw $ $Date: 2002-05-17 13:26:24 $ + * last change: $Author: ka $ $Date: 2002-05-29 13:26:27 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1514,7 +1514,7 @@ void XPolygon::Rotate20() memcpy (pTemp, pImpXPolygon->pPointAry, nIndex0 * sizeof (Point)); memcpy (pImpXPolygon->pPointAry, &pImpXPolygon->pPointAry [nIndex0], (nPntCnt - nIndex0) * sizeof (Point)); memcpy (&pImpXPolygon->pPointAry [nIndex0], pTemp, nIndex0 * sizeof (Point)); - delete pTemp; + delete[] pTemp; } } |