summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2004-11-15 16:19:52 +0000
committerOliver Bolte <obo@openoffice.org>2004-11-15 16:19:52 +0000
commit4e844aa340631e0824730e98a4d99dd18f72e692 (patch)
treeed59d072b4e3a03397e3293f9c4c5d3783a0e7dd
parentdd2e68feea0ff6e7b07a4983bf9ab80137a6e416 (diff)
INTEGRATION: CWS cd01 (1.3.172); FILE MERGED
2004/11/02 13:19:18 as 1.3.172.1: #i35118# hold some config items alive till config dies
-rw-r--r--svtools/source/config/fontoptions.cxx11
1 files changed, 9 insertions, 2 deletions
diff --git a/svtools/source/config/fontoptions.cxx b/svtools/source/config/fontoptions.cxx
index ce675da4d2df..b5165bea4b44 100644
--- a/svtools/source/config/fontoptions.cxx
+++ b/svtools/source/config/fontoptions.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: fontoptions.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: rt $ $Date: 2004-06-16 10:06:39 $
+ * last change: $Author: obo $ $Date: 2004-11-15 17:19:52 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -88,6 +88,9 @@
#include <com/sun/star/uno/Sequence.hxx>
#endif
+#include <rtl/logfile.hxx>
+#include "itemholder1.hxx"
+
//_________________________________________________________________________________________________________________
// namespaces
//_________________________________________________________________________________________________________________
@@ -450,7 +453,11 @@ SvtFontOptions::SvtFontOptions()
// ... and initialize ouer data container only if it not already exist!
if( m_pDataContainer == NULL )
{
+ RTL_LOGFILE_CONTEXT(aLog, "svtools (???) ::SvtFontOptions_Impl::ctor()");
m_pDataContainer = new SvtFontOptions_Impl;
+
+ ItemHolder1* pHolder = ItemHolder1::getGlobalItemHolder();
+ pHolder->holdConfigItem(E_FONTOPTIONS);
}
}