LibreOffice Module editeng (master) 1
|
#include <eerdll.hxx>
Public Member Functions | |
EditDLL () | |
~EditDLL () | |
GlobalEditData * | GetGlobalData () const |
std::shared_ptr< editeng::SharedVclResources > | GetSharedVclResources () |
Static Public Member Functions | |
static EditDLL & | Get () |
Private Attributes | |
std::unique_ptr< GlobalEditData > | pGlobalData |
std::weak_ptr< editeng::SharedVclResources > | pSharedVcl |
Definition at line 37 of file eerdll.hxx.
EditDLL::EditDLL | ( | ) |
Definition at line 197 of file eerdll.cxx.
EditDLL::~EditDLL | ( | ) |
Definition at line 202 of file eerdll.cxx.
|
static |
Prevent use-after-free errors during application shutdown. Previously this data was function-static, but then data in i18npool would be torn down before the destructor here ran, causing a crash.
Definition at line 71 of file eerdll.cxx.
References vcl::DeleteOnDeinit< typename T >::get().
Referenced by EditEngineItemPool::EditEngineItemPool(), and EditView::ExecuteSpellPopup().
|
inline |
Definition at line 46 of file eerdll.hxx.
References pGlobalData.
Referenced by EditEngineItemPool::EditEngineItemPool().
std::shared_ptr< editeng::SharedVclResources > EditDLL::GetSharedVclResources | ( | ) |
Definition at line 218 of file eerdll.cxx.
|
private |
Definition at line 39 of file eerdll.hxx.
Referenced by GetGlobalData().
|
private |
Definition at line 40 of file eerdll.hxx.