summaryrefslogtreecommitdiff
path: root/sw/source/core/unocore
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2005-07-12 10:20:41 +0000
committerKurt Zenker <kz@openoffice.org>2005-07-12 10:20:41 +0000
commit718ceb80a33e769f22e954358b66825e03f0daa0 (patch)
treebe4d48c7b6834058359e737dbcf4b1b27f37735c /sw/source/core/unocore
parentedf5f0d5f9083112d9120e105eb426f1316ecc1c (diff)
INTEGRATION: CWS os65 (1.28.374); FILE MERGED
2005/06/30 07:20:27 os 1.28.374.1: #i50955# SolarMutex locking in destructors
Diffstat (limited to 'sw/source/core/unocore')
-rw-r--r--sw/source/core/unocore/unoportenum.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sw/source/core/unocore/unoportenum.cxx b/sw/source/core/unocore/unoportenum.cxx
index a03289cde676..161cc53c5cd3 100644
--- a/sw/source/core/unocore/unoportenum.cxx
+++ b/sw/source/core/unocore/unoportenum.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: unoportenum.cxx,v $
*
- * $Revision: 1.28 $
+ * $Revision: 1.29 $
*
- * last change: $Author: obo $ $Date: 2004-11-16 15:55:38 $
+ * last change: $Author: kz $ $Date: 2005-07-12 11:20:41 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -203,6 +203,7 @@ SwXTextPortionEnumeration::SwXTextPortionEnumeration(
-----------------------------------------------------------------------*/
SwXTextPortionEnumeration::~SwXTextPortionEnumeration()
{
+ vos::OGuard aGuard(Application::GetSolarMutex());
for(sal_uInt16 nFrame = aFrameArr.Count(); nFrame; )
delete aFrameArr.GetObject( --nFrame );
aFrameArr.Remove(0, aFrameArr.Count());