diff options
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/control/shell.cxx | 25 | ||||
-rw-r--r-- | sfx2/source/inc/sfxtypes.hxx | 4 |
2 files changed, 0 insertions, 29 deletions
diff --git a/sfx2/source/control/shell.cxx b/sfx2/source/control/shell.cxx index ecebb51c40b2..f18c2e74d78b 100644 --- a/sfx2/source/control/shell.cxx +++ b/sfx2/source/control/shell.cxx @@ -93,31 +93,6 @@ struct SfxShell_Impl: public SfxBroadcaster ~SfxShell_Impl() { delete pExecuter; delete pUpdater;} }; -//==================================================================== -#ifdef DBG_UTIL - -String SfxShellIdent_Impl( const SfxShell *pSh ) - -/* [Description] - - Internal helper function. Returns a SfxShell 'pSh' descriptive string. - For instance: SfxApplication [StarWriter] -*/ - -{ - String aIdent( pSh->ISA(SfxApplication) ? DEFINE_CONST_UNICODE("SfxApplication") : - pSh->ISA(SfxViewFrame) ? DEFINE_CONST_UNICODE("SfxViewFrame") : - pSh->ISA(SfxViewShell) ? DEFINE_CONST_UNICODE("SfxViewShell") : - pSh->ISA(SfxObjectShell) ? DEFINE_CONST_UNICODE("SfxObjectShell") : DEFINE_CONST_UNICODE("SfxShell") ); - aIdent += '['; - aIdent += pSh->GetName(); - aIdent += ']'; - return aIdent; -} - -#endif -//==================================================================== - //========================================================================= // SfxShell //========================================================================= diff --git a/sfx2/source/inc/sfxtypes.hxx b/sfx2/source/inc/sfxtypes.hxx index 41f060e4fad7..5b5c6b565293 100644 --- a/sfx2/source/inc/sfxtypes.hxx +++ b/sfx2/source/inc/sfxtypes.hxx @@ -100,10 +100,6 @@ struct _Capper //------------------------------------------------------------------------ -String SfxShellIdent_Impl( const SfxShell *pSh ); - -//------------------------------------------------------------------------ - #if defined(DBG_UTIL) && defined(WNT) class SfxStack |