summaryrefslogtreecommitdiff
path: root/svtools/source
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2005-11-11 07:47:02 +0000
committerRüdiger Timm <rt@openoffice.org>2005-11-11 07:47:02 +0000
commitf406baa28d28756895c1089d49ddad48ba9338b6 (patch)
tree7d4f20ef46b73f17b88e9209cfee34981c773deb /svtools/source
parent10ab4939ede94c3702ab1a26e9f6c61ea20bc995 (diff)
INTEGRATION: CWS perform06 (1.9.60); FILE MERGED
2005/10/25 08:03:55 as 1.9.60.1: #i56589# hold config items alive till office die
Diffstat (limited to 'svtools/source')
-rw-r--r--svtools/source/config/colorcfg.cxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/svtools/source/config/colorcfg.cxx b/svtools/source/config/colorcfg.cxx
index 0a03d24273dc..6acb1152de12 100644
--- a/svtools/source/config/colorcfg.cxx
+++ b/svtools/source/config/colorcfg.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: colorcfg.cxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 14:35:47 $
+ * last change: $Author: rt $ $Date: 2005-11-11 08:47:02 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -77,6 +77,8 @@
#include <vos/mutex.hxx>
#endif
+#include <itemholder2.hxx>
+
/* #100822# ----
#ifndef _SV_WRKWIN_HXX
#include <vcl/wrkwin.hxx>
@@ -520,7 +522,10 @@ ColorConfig::ColorConfig()
{
::osl::MutexGuard aGuard( ColorMutex_Impl::get() );
if ( !m_pImpl )
+ {
m_pImpl = new ColorConfig_Impl;
+ ItemHolder2::holdConfigItem(E_COLORCFG);
+ }
++nColorRefCount_Impl;
StartListening( *m_pImpl);
}