20#include <config_features.h>
37using ::basic::BasicManagerRepository;
44#if HAVE_FEATURE_SCRIPTING
50 pImpl->bDowning =
true;
52 pImpl->pTemplates.reset();
58 pImpl->bDowning =
false;
62 pImpl->pAppDispat->Flush();
63 pImpl->bDowning =
true;
64 pImpl->pAppDispat->DoDeactivate_Impl(
true,
nullptr);
69#if HAVE_FEATURE_SCRIPTING
70 BasicManagerRepository::resetApplicationBasicManager();
71 pImpl->pBasicManager->reset(
nullptr);
77 pImpl->pAppDispat.reset();
80 pImpl->pMatcher.reset();
82 pImpl->pSlotPool.reset();
83 pImpl->maFactories.clear();
85 pImpl->maTbxCtrlFactories.clear();
86 pImpl->maStbCtrlFactories.clear();
87 pImpl->maViewFrames.clear();
88 pImpl->maViewShells.clear();
89 pImpl->maObjShells.clear();
93 pImpl->pPool =
nullptr;
96#if HAVE_FEATURE_SCRIPTING
97 pImpl->m_pSbxErrorHdl.reset();
99 pImpl->m_pSoErrorHdl.reset();
100 pImpl->m_pToolsErrorHdl.reset();
static sal_uInt16 ReleaseItemPool()
std::unique_ptr< SfxAppData_Impl > pImpl
void SaveBasicAndDialogContainer() const
static SAL_WARN_UNUSED_RESULT SfxObjectShell * GetFirst(const std::function< bool(const SfxObjectShell *)> &isObjectShell=nullptr, bool bOnlyVisible=true)
static SAL_WARN_UNUSED_RESULT SfxViewFrame * GetFirst(const SfxObjectShell *pDoc=nullptr, bool bOnlyVisible=true)
#define DBG_ASSERT(sCon, aError)