diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-15 10:54:23 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-23 13:08:48 +0200 |
commit | a57a1494a35e188845b6df3361680d4ed3149427 (patch) | |
tree | e511699277ecb60b19c8d64a718d0620862035e5 /extensions/source/bibliography | |
parent | a880ec813114c204303a5b2a27909ab7f9e027de (diff) |
loplugin:staticmethods
Change-Id: I737ef2580e04cc5246322e49a75ea0b754ecfdf5
Diffstat (limited to 'extensions/source/bibliography')
-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; |