summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/appinit.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-05-17 21:17:24 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-05-20 15:23:08 +0100
commita114d5efcb5265ac80b6b4ec7a7836a97d372e2a (patch)
tree4d4d55e7ac0614f3413e2cb26ae53132f6ff3a27 /sfx2/source/appl/appinit.cxx
parentdaafe7b084cddbc9e91a8a1df336e84aed78f702 (diff)
remove debugging-mode leak
Diffstat (limited to 'sfx2/source/appl/appinit.cxx')
-rw-r--r--sfx2/source/appl/appinit.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/appl/appinit.cxx b/sfx2/source/appl/appinit.cxx
index 4120759de462..1df6f1226a16 100644
--- a/sfx2/source/appl/appinit.cxx
+++ b/sfx2/source/appl/appinit.cxx
@@ -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);