diff options
author | Jan Holesovsky <kendy@collabora.com> | 2014-04-18 16:01:27 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2014-04-18 22:51:04 +0200 |
commit | f4d61eca610140670e483407c9b87acdcd9a9c17 (patch) | |
tree | 36952ba2154ff8eeb9b578a2721c70a0edbfaad3 /include/sfx2 | |
parent | 1a1daff34e23e6b6c25975675a1f1a5a4db6ff08 (diff) |
sfx2: Kill SFX_CHILDWINDOW_REGISTRATION macro.
Change-Id: Icd56e0cee1ce0283e8a1cbaafc81ecca25469185
Diffstat (limited to 'include/sfx2')
-rw-r--r-- | include/sfx2/objface.hxx | 2 | ||||
-rw-r--r-- | include/sfx2/shell.hxx | 3 |
2 files changed, 1 insertions, 4 deletions
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 ) |