From 1452734589500a7c4da3ebf0e5946f976ad2e79d Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 24 Nov 2014 21:05:12 +0000 Subject: only use of SfxInterface::GetName is for debugging info where GetClasName is good enough Change-Id: I242d5792d3ce1323da59a354cae47933cf90569b --- sfx2/source/control/shell.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'sfx2') diff --git a/sfx2/source/control/shell.cxx b/sfx2/source/control/shell.cxx index 1365b5414a92..9a844cceea45 100644 --- a/sfx2/source/control/shell.cxx +++ b/sfx2/source/control/shell.cxx @@ -117,8 +117,6 @@ SfxShell::SfxShell( SfxViewShell *pViewSh ) SfxShell::~SfxShell() { - - delete pImp; } @@ -305,7 +303,7 @@ void SfxShell::DoActivate_Impl( SfxViewFrame *pFrame, bool bMDI ) #endif SAL_INFO( "sfx.control", - "SfxShell::DoActivate() " << this << " " << GetInterface()->GetName() + "SfxShell::DoActivate() " << this << " " << GetInterface()->GetClassName() << " bMDI " << (bMDI ? "MDI" : "")); if ( bMDI ) @@ -328,7 +326,7 @@ void SfxShell::DoDeactivate_Impl( SfxViewFrame *pFrame, bool bMDI ) #endif SAL_INFO( "sfx.control", - "SfxShell::DoDeactivate()" << this << " " << GetInterface()->GetName() + "SfxShell::DoDeactivate()" << this << " " << GetInterface()->GetClassName() << " bMDI " << (bMDI ? "MDI" : "")); // Only when it comes from a Frame -- cgit