From b731d71c67b864b61f5c08e219140be59c473f53 Mon Sep 17 00:00:00 2001 From: Jan Holesovsky Date: Fri, 18 Apr 2014 17:25:30 +0200 Subject: 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 --- include/sfx2/shell.hxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'include') diff --git a/include/sfx2/shell.hxx b/include/sfx2/shell.hxx index fdc05434d190..3a8c5d847085 100644 --- a/include/sfx2/shell.hxx +++ b/include/sfx2/shell.hxx @@ -336,9 +336,7 @@ inline void SfxShell::SetPool void Class::RegisterInterface(SfxModule* pMod) \ { \ GetStaticInterface()->Register(pMod); \ - } \ - \ - void Class::InitInterface_Impl() + } #define SFX_POSITION_MASK 0x000F #define SFX_VISIBILITY_MASK 0xFFF0 -- cgit