diff options
Diffstat (limited to 'sfx2/source/appl/appchild.cxx')
-rw-r--r-- | sfx2/source/appl/appchild.cxx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/sfx2/source/appl/appchild.cxx b/sfx2/source/appl/appchild.cxx index 5475b22cea9b..2669ab991bae 100644 --- a/sfx2/source/appl/appchild.cxx +++ b/sfx2/source/appl/appchild.cxx @@ -43,18 +43,18 @@ void SfxApplication::RegisterChildWindow_Impl( SfxModule *pMod, SfxChildWinFacto return; } - if (!pAppData_Impl->pFactArr) - pAppData_Impl->pFactArr = new SfxChildWinFactArr_Impl; + if (!pImpl->pFactArr) + pImpl->pFactArr = new SfxChildWinFactArr_Impl; - for (size_t nFactory=0; nFactory<pAppData_Impl->pFactArr->size(); ++nFactory) + for (size_t nFactory=0; nFactory<pImpl->pFactArr->size(); ++nFactory) { - if (pFact->nId == (*pAppData_Impl->pFactArr)[nFactory].nId) + if (pFact->nId == (*pImpl->pFactArr)[nFactory].nId) { - pAppData_Impl->pFactArr->erase( pAppData_Impl->pFactArr->begin() + nFactory ); + pImpl->pFactArr->erase( pImpl->pFactArr->begin() + nFactory ); } } - pAppData_Impl->pFactArr->push_back( pFact ); + pImpl->pFactArr->push_back( pFact ); } void SfxApplication::RegisterChildWindowContext_Impl( SfxModule *pMod, sal_uInt16 nId, @@ -85,10 +85,10 @@ void SfxApplication::RegisterChildWindowContext_Impl( SfxModule *pMod, sal_uInt1 if ( !pF ) { // Search for Factory in the Application - DBG_ASSERT( pAppData_Impl, "No AppData!" ); - DBG_ASSERT( pAppData_Impl->pFactArr, "No Factories!" ); + DBG_ASSERT( pImpl, "No AppData!" ); + DBG_ASSERT( pImpl->pFactArr, "No Factories!" ); - pFactories = pAppData_Impl->pFactArr; + pFactories = pImpl->pFactArr; sal_uInt16 nCount = pFactories->size(); for (sal_uInt16 nFactory=0; nFactory<nCount; ++nFactory) { @@ -126,7 +126,7 @@ void SfxApplication::RegisterChildWindowContext_Impl( SfxModule *pMod, sal_uInt1 SfxChildWinFactArr_Impl& SfxApplication::GetChildWinFactories_Impl() const { - return ( *(pAppData_Impl->pFactArr)); + return ( *(pImpl->pFactArr)); } @@ -134,8 +134,8 @@ SfxWorkWindow* SfxApplication::GetWorkWindow_Impl(const SfxViewFrame *pFrame) co { if ( pFrame ) return pFrame->GetFrame().GetWorkWindow_Impl(); - else if ( pAppData_Impl->pViewFrame ) - return pAppData_Impl->pViewFrame->GetFrame().GetWorkWindow_Impl(); + else if ( pImpl->pViewFrame ) + return pImpl->pViewFrame->GetFrame().GetWorkWindow_Impl(); else return nullptr; } |