summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorMartin Hollmichel <mh@openoffice.org>2001-07-23 10:52:40 +0000
committerMartin Hollmichel <mh@openoffice.org>2001-07-23 10:52:40 +0000
commit2f8f7746ad509c826aeee45792f6dd45e53718e5 (patch)
tree299eb807bde0a414f4a7f612653d0bb6dd8d6290 /sfx2
parent6f867ad027397f87b8d93283f9046768e6fb3844 (diff)
chg: correct use of delete #90059#
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/appreg.cxx11
1 files changed, 3 insertions, 8 deletions
diff --git a/sfx2/source/appl/appreg.cxx b/sfx2/source/appl/appreg.cxx
index 98668949364d..686660997814 100644
--- a/sfx2/source/appl/appreg.cxx
+++ b/sfx2/source/appl/appreg.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: appreg.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: as $ $Date: 2000-11-08 14:25:41 $
+ * last change: $Author: mh $ $Date: 2001-07-23 11:52:40 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -62,11 +62,6 @@
#ifndef _SV_CONFIG_HXX
#include <vcl/config.hxx>
#endif
-#if SUPD<613//MUSTINI
-#ifndef _SFXINIMGR_HXX //autogen
-#include <svtools/iniman.hxx>
-#endif
-#endif
#include <app.hxx>
@@ -247,7 +242,7 @@ void SfxApplication::SetInterfaceByIdImpl( SfxInterfaceId eId,
sizeof(SfxInterface*) * nInterfaces );
memset( pNewInterfaces+nInterfaces, 0,
sizeof(SfxInterface*) * (nNewInterfaces-nInterfaces) );
- delete pInterfaces;
+ delete[] pInterfaces;
nInterfaces = nNewInterfaces;
pInterfaces = pNewInterfaces;
}