summaryrefslogtreecommitdiff
path: root/unotools/source/property
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2007-07-18 07:59:37 +0000
committerOliver Bolte <obo@openoffice.org>2007-07-18 07:59:37 +0000
commitaeb0d7fcb16a7eea829e48098317c1fc84881f09 (patch)
tree4c79268c9035c6141722aebd853d0fb21903c73b /unotools/source/property
parent8c31fd853c5d8a75e5bc53b0e575ed897d196386 (diff)
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
Diffstat (limited to 'unotools/source/property')
-rw-r--r--unotools/source/property/propertysethelper.cxx10
1 files 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();