summaryrefslogtreecommitdiff
path: root/stoc/source/inspect
diff options
context:
space:
mode:
authorAndreas Bregas <ab@openoffice.org>2002-08-08 08:08:15 +0000
committerAndreas Bregas <ab@openoffice.org>2002-08-08 08:08:15 +0000
commit62494ae01ee08132fd283f84313f55fb79026fe7 (patch)
treeef7fd51bb3955565e0a5e4c4dd4c1f5ab8963612 /stoc/source/inspect
parent39240e3ffada76ffb1850345e090dd172bb370c0 (diff)
#90353# delete -> delete[]
Diffstat (limited to 'stoc/source/inspect')
-rw-r--r--stoc/source/inspect/introspection.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/stoc/source/inspect/introspection.cxx b/stoc/source/inspect/introspection.cxx
index 4350ac2236b0..1bae2849482b 100644
--- a/stoc/source/inspect/introspection.cxx
+++ b/stoc/source/inspect/introspection.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: introspection.cxx,v $
*
- * $Revision: 1.13 $
+ * $Revision: 1.14 $
*
- * last change: $Author: dbo $ $Date: 2002-06-14 13:26:29 $
+ * last change: $Author: ab $ $Date: 2002-08-08 09:08:15 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -315,7 +315,7 @@ public:
IntrospectionAccessStatic_Impl( Reference< XIdlReflection > xCoreReflection_ );
~IntrospectionAccessStatic_Impl()
{
- delete mpOrgPropertyHandleArray;
+ delete[] mpOrgPropertyHandleArray;
}
sal_Int32 getPropertyIndex( const OUString& aPropertyName ) const;
sal_Int32 getMethodIndex( const OUString& aMethodName ) const;
@@ -2904,7 +2904,7 @@ IntrospectionAccessStatic_Impl* ImplIntrospection::implInspect(const Any& aToIns
if( bFoundXInterface )
bXInterfaceIsInvalid = sal_True;
- delete pMethodTypes;
+ delete[] pMethodTypes;
delete pLocalMethodConcepts;
}