From 4d9c7e9a111ad4f074b356bdd6d51b9c9705e5a3 Mon Sep 17 00:00:00 2001
From: Jens-Heiner Rechtien
Date: Tue, 31 Jul 2007 13:02:23 +0000
Subject: 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
---
comphelper/source/property/MasterPropertySet.cxx | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
(limited to 'comphelper')
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;
+
}
//////////////////////////////////////////////////////////////////////
--
cgit