summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2004-11-15 16:20:32 +0000
committerOliver Bolte <obo@openoffice.org>2004-11-15 16:20:32 +0000
commite9c043293c9cd79a899e935e2c59fa91050bf1a0 (patch)
tree56a509dcb8a91fb5518afe2655ef94a9ad968762
parentab1a2c325f88a9359d9a3ed2a302cf88d19971e7 (diff)
INTEGRATION: CWS cd01 (1.24.76); FILE MERGED
2004/11/02 13:19:19 as 1.24.76.1: #i35118# hold some config items alive till config dies
-rw-r--r--svtools/source/config/inetoptions.cxx12
1 files changed, 10 insertions, 2 deletions
diff --git a/svtools/source/config/inetoptions.cxx b/svtools/source/config/inetoptions.cxx
index bfb2510edb32..d3555a6fbb51 100644
--- a/svtools/source/config/inetoptions.cxx
+++ b/svtools/source/config/inetoptions.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: inetoptions.cxx,v $
*
- * $Revision: 1.24 $
+ * $Revision: 1.25 $
*
- * last change: $Author: rt $ $Date: 2004-09-17 12:55:18 $
+ * last change: $Author: obo $ $Date: 2004-11-15 17:20:32 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -124,6 +124,8 @@
#ifndef _SALHELPER_REFOBJ_HXX_
#include <salhelper/refobj.hxx>
#endif
+#include <rtl/logfile.hxx>
+#include "itemholder1.hxx"
using namespace com::sun;
@@ -475,7 +477,13 @@ SvtInetOptions::SvtInetOptions()
{
osl::MutexGuard aGuard(osl::Mutex::getGlobalMutex());
if (!m_pImpl)
+ {
+ RTL_LOGFILE_CONTEXT(aLog, "svtools (???) ::SvtInetOptions_Impl::ctor()");
m_pImpl = new Impl;
+
+ ItemHolder1* pHolder = ItemHolder1::getGlobalItemHolder();
+ pHolder->holdConfigItem(E_INETOPTIONS);
+ }
m_pImpl->acquire();
}