diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-07-29 10:54:19 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-07-29 10:56:17 +0100 |
commit | 03198f825bd0a776f2f08aa7fb81c3cfa5324a69 (patch) | |
tree | aa8e6bf042b0befb2ff23f9f072670d5a3b5a1f4 /sfx2 | |
parent | e6d15541d60a778424a9f4e135881bae5978b417 (diff) |
callcatcher: ditch newly unused code
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 32bf16ff93..9a7fa8768b 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 80bc1f1df1..c33861c865 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 ); |