Kaydet (Commit) 14527345 authored tarafından Caolán McNamara's avatar Caolán McNamara

only use of SfxInterface::GetName is for debugging info

where GetClasName is good enough

Change-Id: I242d5792d3ce1323da59a354cae47933cf90569b
üst 836a93e2
......@@ -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; }
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment