37 for (
size_t nFactory=0; nFactory<
pImpl->maFactories.size(); ++nFactory)
39 if (rFact.
nId ==
pImpl->maFactories[nFactory].nId)
41 pImpl->maFactories.erase(
pImpl->maFactories.begin() + nFactory );
45 pImpl->maFactories.push_back( rFact );
50 for (
auto& rFactory :
pImpl->maFactories)
51 if (rFactory.nId ==
nId)
60 else if (
pImpl->pViewFrame )
61 return pImpl->pViewFrame->GetFrame().GetWorkWindow_Impl();
SAL_DLLPRIVATE SfxChildWinFactory * GetChildWinFactoryById(sal_uInt16 nId) const
SAL_DLLPRIVATE void RegisterChildWindow_Impl(SfxModule *, const SfxChildWinFactory &)
std::unique_ptr< SfxAppData_Impl > pImpl
SAL_DLLPRIVATE SfxWorkWindow * GetWorkWindow_Impl(const SfxViewFrame *pFrame) const
SAL_DLLPRIVATE SfxWorkWindow * GetWorkWindow_Impl() const
void RegisterChildWindow(const SfxChildWinFactory &)
SfxFrame & GetFrame() const