summaryrefslogtreecommitdiff
path: root/configmgr/source
diff options
context:
space:
mode:
authorJörg Barfurth <jb@openoffice.org>2001-05-28 14:30:21 +0000
committerJörg Barfurth <jb@openoffice.org>2001-05-28 14:30:21 +0000
commitb7929a06039cf8f85b3f8590d6fc2a760cedc513 (patch)
treeee42389e27cf8092837397e097d7ec3c953a45d2 /configmgr/source
parent5e13399b422364ce8a62d184f8690154eee2c389 (diff)
#87512#,#87508# Prepare for async by default (which should apply only to user sessions); remove obsolete include
Diffstat (limited to 'configmgr/source')
-rw-r--r--configmgr/source/misc/bootstrap.cxx14
1 files changed, 9 insertions, 5 deletions
diff --git a/configmgr/source/misc/bootstrap.cxx b/configmgr/source/misc/bootstrap.cxx
index f153cd2fbc2a..576342c2e94e 100644
--- a/configmgr/source/misc/bootstrap.cxx
+++ b/configmgr/source/misc/bootstrap.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: bootstrap.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: vg $ $Date: 2001-05-22 11:21:41 $
+ * last change: $Author: jb $ $Date: 2001-05-28 15:30:21 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -85,9 +85,6 @@
#ifndef _CONFIGMGR_TRACER_HXX_
#include "tracer.hxx"
#endif
-#ifndef _CONFIGMGR_MISC_HASHHELPER_HXX
-#include "hashhelper.hxx"
-#endif
#ifndef _COM_SUN_STAR_CONFIGURATION_MISSINGBOOTSTRAPFILEEXCEPTION_HPP_
#include <com/sun/star/configuration/MissingBootstrapFileException.hpp>
#endif
@@ -1123,6 +1120,13 @@ namespace configmgr
this->setService(sService, Settings::SO_DEFAULT);
}
+ if ( !hasAsyncSetting() )
+ {
+ Any aDefaultNoAsync = makeAny(sal_Bool(false));
+ putSetting( SETTING_ASYNC, Settings::Setting(aDefaultNoAsync, Settings::SO_DEFAULT) );
+ OSL_ASSERT( hasAsyncSetting() && !getAsyncSetting() );
+ }
+
if (!hasLocale())
{
CFG_TRACE_INFO("Settings for Admin session: Using 'all locales' by default");