summaryrefslogtreecommitdiff
path: root/svx/source/outliner
diff options
context:
space:
mode:
authorMalte Timmermann <mt@openoffice.org>2002-07-17 09:24:35 +0000
committerMalte Timmermann <mt@openoffice.org>2002-07-17 09:24:35 +0000
commitf8aa83460b9ed1fe5ae7a5be0c3cd2d020e28677 (patch)
treed8008a737e06e03b1bb80ce680392f29c42f3aad /svx/source/outliner
parente314e1b8aa3f1d98f2b33ce3f546d07eafa0f799 (diff)
#90353# operator delete[]
Diffstat (limited to 'svx/source/outliner')
-rw-r--r--svx/source/outliner/outliner.cxx6
-rw-r--r--svx/source/outliner/outlobj.cxx6
2 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/outliner/outliner.cxx b/svx/source/outliner/outliner.cxx
index d872b318190b..ca520d58634d 100644
--- a/svx/source/outliner/outliner.cxx
+++ b/svx/source/outliner/outliner.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: outliner.cxx,v $
*
- * $Revision: 1.45 $
+ * $Revision: 1.46 $
*
- * last change: $Author: mt $ $Date: 2002-07-09 10:17:20 $
+ * last change: $Author: mt $ $Date: 2002-07-17 10:24:33 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1146,7 +1146,7 @@ void Outliner::PaintBullet( USHORT nPara, const Point& rStartPos,
FontMetric aMetric( pOutDev->GetFontMetric() );
aTextPos.Y() -= aMetric.GetDescent();
DrawingText( aTextPos, pPara->GetText(), 0, pPara->GetText().Len(), pBuf, aSvxFont, nPara, 0xFFFF );
- delete pBuf;
+ delete[] pBuf;
}
pOutDev->SetFont( aOldFont );
}
diff --git a/svx/source/outliner/outlobj.cxx b/svx/source/outliner/outlobj.cxx
index be12a72511b7..405b3390a65e 100644
--- a/svx/source/outliner/outlobj.cxx
+++ b/svx/source/outliner/outlobj.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: outlobj.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: mt $ $Date: 2000-12-06 16:15:56 $
+ * last change: $Author: mt $ $Date: 2002-07-17 10:24:35 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -121,7 +121,7 @@ OutlinerParaObject::~OutlinerParaObject()
DBG_DTOR(OutlinerParaObject,0);
delete pText;
- delete pDepthArr;
+ delete[] pDepthArr;
}
void OutlinerParaObject::ClearPortionInfo()