Kaydet (Commit) a57a1494 authored tarafından Noel Grandin's avatar Noel Grandin

loplugin:staticmethods

Change-Id: I737ef2580e04cc5246322e49a75ea0b754ecfdf5
üst a880ec81
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment