diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-10 09:24:02 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-10 11:36:23 +0000 |
commit | 1e7891c103f01f68924817bc02bda892311806fa (patch) | |
tree | 62b959d7e91ebe0fbf6790a8adfc469de8df7d5f /sfx2 | |
parent | 6f57b77c358571cb880df696fbd3db4c5038212a (diff) |
drop the SimpleErrorHandler
Change-Id: I968300664c386e6cf33461c5858833832e452e28
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/appinit.cxx | 6 | ||||
-rw-r--r-- | sfx2/source/appl/appquit.cxx | 3 | ||||
-rw-r--r-- | sfx2/source/inc/appdata.hxx | 3 |
3 files changed, 0 insertions, 12 deletions
diff --git a/sfx2/source/appl/appinit.cxx b/sfx2/source/appl/appinit.cxx index 5cbf85cd557a..610a1e119ff2 100644 --- a/sfx2/source/appl/appinit.cxx +++ b/sfx2/source/appl/appinit.cxx @@ -226,12 +226,6 @@ bool SfxApplication::Initialize_Impl() Application::EnableAutoMnemonic ( aLocalisation.IsAutoMnemonic() ); Application::SetDialogScaleX ( (short)(aLocalisation.GetDialogScale()) ); - -#ifdef DBG_UTIL - // The SimplerErrorHandler is for debugging. In the Product errors - // not processed are given to SFX as Errorcode 1. - pAppData_Impl->m_pSimpleErrorHdl = new SimpleErrorHandler; -#endif pAppData_Impl->m_pToolsErrorHdl = new SfxErrorHandler( RID_ERRHDL, ERRCODE_AREA_TOOLS, ERRCODE_AREA_LIB1); diff --git a/sfx2/source/appl/appquit.cxx b/sfx2/source/appl/appquit.cxx index 696e39d32b5d..6f586f1c70f4 100644 --- a/sfx2/source/appl/appquit.cxx +++ b/sfx2/source/appl/appquit.cxx @@ -155,9 +155,6 @@ void SfxApplication::Deinitialize() #endif 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: */ diff --git a/sfx2/source/inc/appdata.hxx b/sfx2/source/inc/appdata.hxx index b9e287b0ff53..29b82b2eb1fe 100644 --- a/sfx2/source/inc/appdata.hxx +++ b/sfx2/source/inc/appdata.hxx @@ -91,9 +91,6 @@ public: ResMgr* pBasicResMgr; #endif ResMgr* pSvtResMgr; -#ifdef DBG_UTIL - SimpleErrorHandler *m_pSimpleErrorHdl; -#endif SfxErrorHandler *m_pToolsErrorHdl; SfxErrorHandler *m_pSoErrorHdl; #ifndef DISABLE_SCRIPTING |