diff options
-rw-r--r-- | extensions/source/bibliography/bibload.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/bibliography/bibload.cxx b/extensions/source/bibliography/bibload.cxx index 9cb50420584d..97ad1f1fa9e8 100644 --- a/extensions/source/bibliography/bibload.cxx +++ b/extensions/source/bibliography/bibload.cxx @@ -253,7 +253,7 @@ void BibliographyLoader::loadView(const Reference< XFrame > & rFrame, const OUSt if(!m_pBibMod) m_pBibMod = OpenBibModul(); - m_pDatMan = (*m_pBibMod)->createDataManager(); + m_pDatMan = BibModul::createDataManager(); m_xDatMan = m_pDatMan; BibDBDescriptor aBibDesc = BibModul::GetConfig()->GetBibliographyURL(); @@ -332,7 +332,7 @@ BibDataManager* BibliographyLoader::GetDataManager()const { if(!m_pBibMod) const_cast< BibliographyLoader* >( this )->m_pBibMod = OpenBibModul(); - const_cast< BibliographyLoader* >( this )->m_pDatMan = (*m_pBibMod)->createDataManager(); + const_cast< BibliographyLoader* >( this )->m_pDatMan = BibModul::createDataManager(); const_cast< BibliographyLoader* >( this )->m_xDatMan = m_pDatMan; } return m_pDatMan; |