diff --git a/extensions/source/bibliography/bibload.cxx b/extensions/source/bibliography/bibload.cxx index f02b96c0f960..b576ec1cf4cd 100644 --- a/extensions/source/bibliography/bibload.cxx +++ b/extensions/source/bibliography/bibload.cxx @@ -2,9 +2,9 @@ * * $RCSfile: bibload.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: os $ $Date: 2000-11-15 15:54:56 $ + * last change: $Author: os $ $Date: 2000-11-27 14:19:19 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -412,6 +412,14 @@ void BibliographyLoader::loadView(const Reference< frame::XFrame > & rFrame, con m_xDatMan = m_pDatMan; BibDBDescriptor aBibDesc = BibModul::GetConfig()->GetBibliographyURL(); + if(!aBibDesc.sDataSource.getLength()); + { + DBChangeDialogConfig_Impl aConfig; + const Sequence aSources = aConfig.GetDataSourceNames(); + if(aSources.getLength()) + aBibDesc.sDataSource = aSources.getConstArray()[0]; + } + Reference< form::XForm > xForm = pDatMan->createDatabaseForm(aBibDesc); if(xForm.is())