include/sfx2/objface.hxx | 2 -- sfx2/source/control/shell.cxx | 6 ++---- 2 files changed, 2 insertions(+), 6 deletions(-)
New commits: commit 1452734589500a7c4da3ebf0e5946f976ad2e79d Author: Caolán McNamara <caol...@redhat.com> Date: Mon Nov 24 21:05:12 2014 +0000 only use of SfxInterface::GetName is for debugging info where GetClasName is good enough Change-Id: I242d5792d3ce1323da59a354cae47933cf90569b diff --git a/include/sfx2/objface.hxx b/include/sfx2/objface.hxx index a667c15..db88e6f 100644 --- a/include/sfx2/objface.hxx +++ b/include/sfx2/objface.hxx @@ -63,8 +63,6 @@ public: const char* GetClassName() const { return pName; } bool HasName() const { return 0 != aNameResId.GetId(); } - OUString GetName() const - { return HasName() ? aNameResId.toString() : OUString(); } const SfxInterface* GetGenoType() const { return pGenoType; } diff --git a/sfx2/source/control/shell.cxx b/sfx2/source/control/shell.cxx index 1365b54..9a844cc 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
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits