diff options
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/workwin.cxx | 16 | ||||
-rw-r--r-- | sfx2/source/inc/workwin.hxx | 1 |
2 files changed, 0 insertions, 17 deletions
diff --git a/sfx2/source/appl/workwin.cxx b/sfx2/source/appl/workwin.cxx index 9238fa0f2255..f0eb712824cc 100644 --- a/sfx2/source/appl/workwin.cxx +++ b/sfx2/source/appl/workwin.cxx @@ -2753,22 +2753,6 @@ Rectangle SfxWorkWindow::GetFreeArea( sal_Bool bAutoHide ) const return aClientArea; } -void SfxWorkWindow::DisableChildWindow_Impl( sal_uInt16 nId, sal_Bool bDisable ) -{ - sal_uInt16 nCount = pChildWins->Count(); - sal_uInt16 n; - for (n=0; n<nCount; n++) - if ((*pChildWins)[n]->nSaveId == nId) - break; - if ( n<nCount && (*pChildWins)[n]->bDisabled != bDisable ) - { - (*pChildWins)[n]->bDisabled = bDisable; - UpdateChildWindows_Impl(); - ArrangeChilds_Impl(); - ShowChilds_Impl(); - } -} - void SfxWorkWindow::SetActiveChild_Impl( Window *pChild ) { pActiveChild = pChild; diff --git a/sfx2/source/inc/workwin.hxx b/sfx2/source/inc/workwin.hxx index 2cb06857ab36..eebc3412d11c 100644 --- a/sfx2/source/inc/workwin.hxx +++ b/sfx2/source/inc/workwin.hxx @@ -338,7 +338,6 @@ public: SfxSplitWindow* GetSplitWindow_Impl(SfxChildAlignment); sal_Bool IsVisible_Impl( sal_uInt16 nMode ) const; - void DisableChildWindow_Impl( sal_uInt16 nId, sal_Bool bDisable ); sal_Bool IsFloating( sal_uInt16 nId ); void SetActiveChild_Impl( Window *pChild ); virtual sal_Bool ActivateNextChild_Impl( sal_Bool bForward = sal_True ); |