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
|
#ifdef DBG_UTIL
|
||||||
// The SimplerErrorHandler is for debugging. In the Product errors
|
// The SimplerErrorHandler is for debugging. In the Product errors
|
||||||
// not processed are given to SFX as Errorcode 1.
|
// not processed are given to SFX as Errorcode 1.
|
||||||
new SimpleErrorHandler;
|
pAppData_Impl->m_pSimpleErrorHdl = new SimpleErrorHandler;
|
||||||
#endif
|
#endif
|
||||||
pAppData_Impl->m_pToolsErrorHdl = new SfxErrorHandler(
|
pAppData_Impl->m_pToolsErrorHdl = new SfxErrorHandler(
|
||||||
RID_ERRHDL, ERRCODE_AREA_TOOLS, ERRCODE_AREA_LIB1);
|
RID_ERRHDL, ERRCODE_AREA_TOOLS, ERRCODE_AREA_LIB1);
|
||||||
|
|
|
@ -159,6 +159,9 @@ void SfxApplication::Deinitialize()
|
||||||
delete pAppData_Impl->m_pSbxErrorHdl;
|
delete pAppData_Impl->m_pSbxErrorHdl;
|
||||||
delete pAppData_Impl->m_pSoErrorHdl;
|
delete pAppData_Impl->m_pSoErrorHdl;
|
||||||
delete pAppData_Impl->m_pToolsErrorHdl;
|
delete pAppData_Impl->m_pToolsErrorHdl;
|
||||||
|
#ifdef DBG_UTIL
|
||||||
|
delete pAppData_Impl->m_pSimpleErrorHdl;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||||
|
|
|
@ -112,6 +112,9 @@ public:
|
||||||
// application members
|
// application members
|
||||||
SfxFilterMatcher* pMatcher;
|
SfxFilterMatcher* pMatcher;
|
||||||
ResMgr* pLabelResMgr;
|
ResMgr* pLabelResMgr;
|
||||||
|
#ifdef DBG_UTIL
|
||||||
|
SimpleErrorHandler *m_pSimpleErrorHdl;
|
||||||
|
#endif
|
||||||
SfxErrorHandler *m_pToolsErrorHdl;
|
SfxErrorHandler *m_pToolsErrorHdl;
|
||||||
SfxErrorHandler *m_pSoErrorHdl;
|
SfxErrorHandler *m_pSoErrorHdl;
|
||||||
SfxErrorHandler *m_pSbxErrorHdl;
|
SfxErrorHandler *m_pSbxErrorHdl;
|
||||||
|
|
Loading…
Reference in a new issue