diff options
author | Jörg Barfurth <jb@openoffice.org> | 2001-05-22 06:42:07 +0000 |
---|---|---|
committer | Jörg Barfurth <jb@openoffice.org> | 2001-05-22 06:42:07 +0000 |
commit | ecc0b12a55ece0084e0a869e8390f87d41d1b1f1 (patch) | |
tree | f363dab1e675b9f2235dce3ca7d8de7eb63ca49f /configmgr/source | |
parent | 64878e8bd08bb791f8fde0f8bd5dd6f6d20b0fc0 (diff) |
#81412# Erroneous handling of default provider
Diffstat (limited to 'configmgr/source')
-rw-r--r-- | configmgr/source/misc/providerfactory.cxx | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/configmgr/source/misc/providerfactory.cxx b/configmgr/source/misc/providerfactory.cxx index 3b047aac2e52..69c40988492d 100644 --- a/configmgr/source/misc/providerfactory.cxx +++ b/configmgr/source/misc/providerfactory.cxx @@ -2,9 +2,9 @@ * * $RCSfile: providerfactory.cxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: jb $ $Date: 2001-05-18 16:16:52 $ + * last change: $Author: jb $ $Date: 2001-05-22 07:42:07 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -254,7 +254,12 @@ namespace configmgr ensureBootstrapSettings(); - m_xDefaultProvider = implCreateProviderWithSettings(m_pPureSettings->settings,true,true); + ConnectionSettings aThisRoundSettings(m_pPureSettings->settings); + + aThisRoundSettings.validate(); + OSL_ENSURE(aThisRoundSettings.isComplete(), "Incomplete Data for creating a ConfigurationProvider"); + + m_xDefaultProvider = implCreateProviderWithSettings(aThisRoundSettings,true,true); // register disposing listener Reference<com::sun::star::lang::XComponent> xComponent(m_xDefaultProvider, UNO_QUERY); @@ -411,6 +416,9 @@ namespace configmgr /************************************************************************* * history: * $Log: not supported by cvs2svn $ + * Revision 1.9 2001/05/18 16:16:52 jb + * #81412# Cleaned up bootstrap settings handling; Added recognition of bootstrap errors + * * Revision 1.8 2001/04/03 16:33:58 jb * Local AdministrationProvider now mapped to Setup-session * |