summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2004-11-15 16:22:34 +0000
committerOliver Bolte <obo@openoffice.org>2004-11-15 16:22:34 +0000
commitc72036879468f53176f4fe91f656f51530390a17 (patch)
treea1447492b34e39d4a7c547579b72cc80f94380a1
parent354028639a061d5b6ee664e60056bffc36da4934 (diff)
INTEGRATION: CWS cd01 (1.9.172); FILE MERGED
2004/11/02 13:19:20 as 1.9.172.1: #i35118# hold some config items alive till config dies
-rw-r--r--svtools/source/config/miscopt.cxx13
1 files changed, 10 insertions, 3 deletions
diff --git a/svtools/source/config/miscopt.cxx b/svtools/source/config/miscopt.cxx
index 88c894d7faa9..affa6dea8190 100644
--- a/svtools/source/config/miscopt.cxx
+++ b/svtools/source/config/miscopt.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: miscopt.cxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: rt $ $Date: 2004-06-16 10:07:37 $
+ * last change: $Author: obo $ $Date: 2004-11-15 17:22:34 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -101,6 +101,9 @@
#include <tools/urlobj.hxx>
#endif
+#include <rtl/logfile.hxx>
+#include "itemholder1.hxx"
+
//_________________________________________________________________________________________________________________
// namespaces
//_________________________________________________________________________________________________________________
@@ -490,7 +493,11 @@ SvtMiscOptions::SvtMiscOptions()
// ... and initialize ouer data container only if it not already exist!
if( m_pDataContainer == NULL )
{
- m_pDataContainer = new SvtMiscOptions_Impl;
+ RTL_LOGFILE_CONTEXT(aLog, "svtools (???) ::SvtMiscOptions_Impl::ctor()");
+ m_pDataContainer = new SvtMiscOptions_Impl;
+
+ ItemHolder1* pHolder = ItemHolder1::getGlobalItemHolder();
+ pHolder->holdConfigItem(E_MISCOPTIONS);
}
}