From f4d61eca610140670e483407c9b87acdcd9a9c17 Mon Sep 17 00:00:00 2001 From: Jan Holesovsky Date: Fri, 18 Apr 2014 16:01:27 +0200 Subject: sfx2: Kill SFX_CHILDWINDOW_REGISTRATION macro. Change-Id: Icd56e0cee1ce0283e8a1cbaafc81ecca25469185 --- include/sfx2/objface.hxx | 2 +- include/sfx2/shell.hxx | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'include/sfx2') diff --git a/include/sfx2/objface.hxx b/include/sfx2/objface.hxx index e31d56ea7782..ea2390dd9696 100644 --- a/include/sfx2/objface.hxx +++ b/include/sfx2/objface.hxx @@ -73,7 +73,7 @@ public: void RegisterObjectBar( sal_uInt16, const ResId&, const OUString* pST=0 ); void RegisterObjectBar( sal_uInt16, const ResId&, sal_uInt32 nFeature, const OUString* pST=0 ); - void RegisterChildWindow( sal_uInt16, bool bContext, const OUString* pST=0 ); + void RegisterChildWindow( sal_uInt16, bool bContext = false, const OUString* pST=0 ); void RegisterChildWindow( sal_uInt16, bool bContext, sal_uInt32 nFeature, const OUString* pST=0 ); void RegisterStatusBar( const ResId& ); const ResId& GetObjectBarResId( sal_uInt16 nNo ) const; diff --git a/include/sfx2/shell.hxx b/include/sfx2/shell.hxx index 79c593c7c8cd..e2173b8e7fbb 100644 --- a/include/sfx2/shell.hxx +++ b/include/sfx2/shell.hxx @@ -352,9 +352,6 @@ inline void SfxShell::SetPool #define SFX_VISIBILITY_SERVER 0x8000 #define SFX_VISIBILITY_NOCONTEXT 0xFFFF // Always visable -#define SFX_CHILDWINDOW_REGISTRATION(nId) \ - GetStaticInterface()->RegisterChildWindow( nId, false ) - #define SFX_FEATURED_CHILDWINDOW_REGISTRATION(nId,nFeature) \ GetStaticInterface()->RegisterChildWindow( nId, false, nFeature ) -- cgit