diff options
author | Jan Holesovsky <kendy@collabora.com> | 2014-04-18 17:25:30 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2014-04-18 22:51:06 +0200 |
commit | b731d71c67b864b61f5c08e219140be59c473f53 (patch) | |
tree | 29f8a9f208e2e72b93389d5ee06d244599aefdc9 /sc/source/ui/view/auditsh.cxx | |
parent | sfx2: Kill SFX_STATUSBAR_REGISTRATION macro. (diff) | |
download | core-b731d71c67b864b61f5c08e219140be59c473f53.tar.gz core-b731d71c67b864b61f5c08e219140be59c473f53.zip |
sfx2: Move InitInterface_Impl() method out of SFX_IMPL_INTERFACE.
SFX_IMPL_INTERFACE previously looked like a function; where in fact it is
several methods defined at once, and only the last one has a body.
This is extremely confusing and hard to read; let's kill that nonsense.
Change-Id: Ia4ae22eb58b1260c9c827c894f5345693bad49e7
Diffstat (limited to 'sc/source/ui/view/auditsh.cxx')
-rw-r--r-- | sc/source/ui/view/auditsh.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/view/auditsh.cxx b/sc/source/ui/view/auditsh.cxx index a150d13d63a6..f8723e688ccf 100644 --- a/sc/source/ui/view/auditsh.cxx +++ b/sc/source/ui/view/auditsh.cxx @@ -37,11 +37,12 @@ TYPEINIT1( ScAuditingShell, SfxShell ); SFX_IMPL_INTERFACE(ScAuditingShell, SfxShell, ScResId(SCSTR_AUDITSHELL)) + +void ScAuditingShell::InitInterface_Impl() { GetStaticInterface()->RegisterPopupMenu(ScResId(RID_POPUP_AUDIT)); } - ScAuditingShell::ScAuditingShell(ScViewData* pData) : SfxShell(pData->GetViewShell()), pViewData( pData ), |