summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2005-07-01 12:09:29 +0000
committerKurt Zenker <kz@openoffice.org>2005-07-01 12:09:29 +0000
commitf7374e6da9420a052021a0799d02bd30e096ea87 (patch)
treea2d1ff2fa80f20c051a990717acfb67833afc572 /framework
parentc549fe3f186b6e5c4c19427d47b425afc120aabf (diff)
INTEGRATION: CWS memory01 (1.5.76); FILE MERGED
2005/06/14 14:32:28 cd 1.5.76.1: #i50721# Delete image list on dtor
Diffstat (limited to 'framework')
-rw-r--r--framework/source/uiconfiguration/imagemanager.cxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/framework/source/uiconfiguration/imagemanager.cxx b/framework/source/uiconfiguration/imagemanager.cxx
index c0f959a42348..0455d9e30d5f 100644
--- a/framework/source/uiconfiguration/imagemanager.cxx
+++ b/framework/source/uiconfiguration/imagemanager.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: imagemanager.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: kz $ $Date: 2005-03-01 19:39:24 $
+ * last change: $Author: kz $ $Date: 2005-07-01 13:09:29 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -508,6 +508,12 @@ ImageManager::ImageManager( uno::Reference< XMultiServiceFactory > xServiceManag
ImageManager::~ImageManager()
{
+ ResetableGuard aGuard( m_aLock );
+ for ( sal_Int32 n = 0; n < ImageType_COUNT; n++ )
+ {
+ delete m_pUserImageList[n];
+ m_pUserImageList[n] = 0;
+ }
}
// XComponent