summaryrefslogtreecommitdiffstats
path: root/comphelper
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2007-07-31 13:02:23 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2007-07-31 13:02:23 +0000
commit4d9c7e9a111ad4f074b356bdd6d51b9c9705e5a3 (patch)
tree6bc377ca78c437388b003d3c8cabb798d3173bd8 /comphelper
parentINTEGRATION: CWS configure21 (1.89.30); FILE MERGED (diff)
downloadcore-4d9c7e9a111ad4f074b356bdd6d51b9c9705e5a3.tar.gz
core-4d9c7e9a111ad4f074b356bdd6d51b9c9705e5a3.zip
INTEGRATION: CWS jsc18 (1.7.66); FILE MERGED
2007/07/02 08:34:01 jsc 1.7.66.1: #i79019# integrate patch, use array delete operator
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/source/property/MasterPropertySet.cxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/comphelper/source/property/MasterPropertySet.cxx b/comphelper/source/property/MasterPropertySet.cxx
index 2c131c7e569c..89b4a4776d6d 100644
--- a/comphelper/source/property/MasterPropertySet.cxx
+++ b/comphelper/source/property/MasterPropertySet.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: MasterPropertySet.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: obo $ $Date: 2006-09-17 17:17:01 $
+ * last change: $Author: hr $ $Date: 2007-07-31 14:02:23 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -76,8 +76,9 @@ AutoOGuardArray::AutoOGuardArray( sal_Int32 nNumElements )
AutoOGuardArray::~AutoOGuardArray()
{
- for (sal_Int32 i = 0; i < nSize; ++i)
- pGuardArray = 0; //!! release auto_ptr's and thus the mutexes locks
+ //!! release auto_ptr's and thus the mutexes locks
+ delete [] pGuardArray;
+
}
//////////////////////////////////////////////////////////////////////