From aeb0d7fcb16a7eea829e48098317c1fc84881f09 Mon Sep 17 00:00:00 2001 From: Oliver Bolte Date: Wed, 18 Jul 2007 07:59:37 +0000 Subject: [PATCH] INTEGRATION: CWS fwk67 (1.4.32); FILE MERGED 2007/07/03 07:41:30 cd 1.4.32.1: #i79096# Fix mismatch between new and delete --- unotools/source/property/propertysethelper.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/unotools/source/property/propertysethelper.cxx b/unotools/source/property/propertysethelper.cxx index 5deaf0aa2b6e..9fe2c9a4787e 100644 --- a/unotools/source/property/propertysethelper.cxx +++ b/unotools/source/property/propertysethelper.cxx @@ -4,9 +4,9 @@ * * $RCSfile: propertysethelper.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: obo $ $Date: 2006-09-17 01:28:32 $ + * last change: $Author: obo $ $Date: 2007-07-18 08:59:37 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -171,7 +171,7 @@ void SAL_CALL PropertySetHelper::setPropertyValues( const Sequence< ::rtl::OUStr if( !bUnknown ) _setPropertyValues( (const PropertyMapEntry**)pEntries, aValues.getConstArray() ); - delete pEntries; + delete [] pEntries; if( bUnknown ) throw UnknownPropertyException(); @@ -199,7 +199,7 @@ Sequence< Any > SAL_CALL PropertySetHelper::getPropertyValues( const Sequence< : if( !bUnknown ) _getPropertyValues( (const PropertyMapEntry**)pEntries, aValues.getArray() ); - delete pEntries; + delete [] pEntries; if( bUnknown ) throw UnknownPropertyException(); @@ -266,7 +266,7 @@ Sequence< PropertyState > SAL_CALL PropertySetHelper::getPropertyStates( const S if( !bUnknown ) _getPropertyStates( (const PropertyMapEntry**)pEntries, aStates.getArray() ); - delete pEntries; + delete [] pEntries; if( bUnknown ) throw UnknownPropertyException();