summaryrefslogtreecommitdiff
path: root/svx/source/editeng/impedit5.cxx
diff options
context:
space:
mode:
authorMalte Timmermann <mt@openoffice.org>2002-07-12 12:31:17 +0000
committerMalte Timmermann <mt@openoffice.org>2002-07-12 12:31:17 +0000
commit27d395c40831e36ab0d7962ff14d69b2f2ac5455 (patch)
tree09432751a19ca04a0681048554ece1282deab515 /svx/source/editeng/impedit5.cxx
parent87a49782fa520ffc01d6bca70a54d1b6d61bff1d (diff)
#90353# operator delete[]
Diffstat (limited to 'svx/source/editeng/impedit5.cxx')
-rw-r--r--svx/source/editeng/impedit5.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/editeng/impedit5.cxx b/svx/source/editeng/impedit5.cxx
index 2b023e8c4f..9c97bfabad 100644
--- a/svx/source/editeng/impedit5.cxx
+++ b/svx/source/editeng/impedit5.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: impedit5.cxx,v $
*
- * $Revision: 1.20 $
+ * $Revision: 1.21 $
*
- * last change: $Author: mt $ $Date: 2002-07-12 10:31:21 $
+ * last change: $Author: mt $ $Date: 2002-07-12 13:31:16 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -965,7 +965,7 @@ ImplIMEInfos::ImplIMEInfos( const EditPaM& rPos, const String& rOldTextAfterStar
ImplIMEInfos::~ImplIMEInfos()
{
- delete pAttribs;
+ delete[] pAttribs;
}
void ImplIMEInfos::CopyAttribs( const USHORT* pA, USHORT nL )
@@ -978,7 +978,7 @@ void ImplIMEInfos::CopyAttribs( const USHORT* pA, USHORT nL )
void ImplIMEInfos::DestroyAttribs()
{
- delete pAttribs;
+ delete[] pAttribs;
pAttribs = NULL;
nLen = 0;
}