summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-07-10 00:57:58 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-07-11 09:04:34 +0100
commitf3643c38516ac9615922c135363b924e057bb392 (patch)
treeec4bb38f18bbf1514f9814635b9c1506065feef8 /sfx2
parentd82ceb0cfdfac64f9d377cb273aa9c85cb475d00 (diff)
callcatcher: remove unused SfxShellIdent_Impl
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/control/shell.cxx25
-rw-r--r--sfx2/source/inc/sfxtypes.hxx4
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