remove debugging-mode leak
This commit is contained in:
parent
daafe7b084
commit
a114d5efcb
3 changed files with 7 additions and 1 deletions
|
@ -255,7 +255,7 @@ bool SfxApplication::Initialize_Impl()
|
|||
#ifdef DBG_UTIL
|
||||
// The SimplerErrorHandler is for debugging. In the Product errors
|
||||
// not processed are given to SFX as Errorcode 1.
|
||||
new SimpleErrorHandler;
|
||||
pAppData_Impl->m_pSimpleErrorHdl = new SimpleErrorHandler;
|
||||
#endif
|
||||
pAppData_Impl->m_pToolsErrorHdl = new SfxErrorHandler(
|
||||
RID_ERRHDL, ERRCODE_AREA_TOOLS, ERRCODE_AREA_LIB1);
|
||||
|
|
|
@ -159,6 +159,9 @@ void SfxApplication::Deinitialize()
|
|||
delete pAppData_Impl->m_pSbxErrorHdl;
|
||||
delete pAppData_Impl->m_pSoErrorHdl;
|
||||
delete pAppData_Impl->m_pToolsErrorHdl;
|
||||
#ifdef DBG_UTIL
|
||||
delete pAppData_Impl->m_pSimpleErrorHdl;
|
||||
#endif
|
||||
}
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
|
|
@ -112,6 +112,9 @@ public:
|
|||
// application members
|
||||
SfxFilterMatcher* pMatcher;
|
||||
ResMgr* pLabelResMgr;
|
||||
#ifdef DBG_UTIL
|
||||
SimpleErrorHandler *m_pSimpleErrorHdl;
|
||||
#endif
|
||||
SfxErrorHandler *m_pToolsErrorHdl;
|
||||
SfxErrorHandler *m_pSoErrorHdl;
|
||||
SfxErrorHandler *m_pSbxErrorHdl;
|
||||
|
|
Loading…
Reference in a new issue