summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2004-11-15 16:20:18 +0000
committerOliver Bolte <obo@openoffice.org>2004-11-15 16:20:18 +0000
commitab1a2c325f88a9359d9a3ed2a302cf88d19971e7 (patch)
treed174c7e75e4e9f0f1a337d4892dca46c7150bb2a
parent61bf8b6c01c3bb40388fbbc972bb880cf891e525 (diff)
INTEGRATION: CWS cd01 (1.14.228); FILE MERGED
2004/11/02 13:19:19 as 1.14.228.1: #i35118# hold some config items alive till config dies
-rw-r--r--svtools/source/config/historyoptions.cxx13
1 files changed, 10 insertions, 3 deletions
diff --git a/svtools/source/config/historyoptions.cxx b/svtools/source/config/historyoptions.cxx
index 31aea6cab9eb..76de39204244 100644
--- a/svtools/source/config/historyoptions.cxx
+++ b/svtools/source/config/historyoptions.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: historyoptions.cxx,v $
*
- * $Revision: 1.14 $
+ * $Revision: 1.15 $
*
- * last change: $Author: svesik $ $Date: 2004-04-21 13:51:19 $
+ * last change: $Author: obo $ $Date: 2004-11-15 17:20:18 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -96,6 +96,9 @@
#include <algorithm>
#endif
+#include <rtl/logfile.hxx>
+#include "itemholder1.hxx"
+
//_________________________________________________________________________________________________________________
// namespaces
//_________________________________________________________________________________________________________________
@@ -699,7 +702,7 @@ Sequence< OUString > SvtHistoryOptions_Impl::impl_GetPropertyNames( sal_uInt32&
sal_uInt32& nHelpBookmarkCount )
{
/* TODO
- Index basiert einfgen !!! => p0 => 0 p1 => 1 ...
+ Index basiert einf�gen !!! => p0 => 0 p1 => 1 ...
*/
// First get ALL names of current existing list items in configuration!
@@ -851,7 +854,11 @@ SvtHistoryOptions::SvtHistoryOptions()
// ... and initialize ouer data container only if it not already exist!
if( m_pDataContainer == NULL )
{
+ RTL_LOGFILE_CONTEXT(aLog, "svtools (???) ::SvtHistoryOptions_Impl::ctor()");
m_pDataContainer = new SvtHistoryOptions_Impl;
+
+ ItemHolder1* pHolder = ItemHolder1::getGlobalItemHolder();
+ pHolder->holdConfigItem(E_HISTORYOPTIONS);
}
}