diff options
Diffstat (limited to 'sc/source/ui')
-rw-r--r-- | sc/source/ui/inc/tabview.hxx | 1 | ||||
-rw-r--r-- | sc/source/ui/view/tabview2.cxx | 18 |
2 files changed, 0 insertions, 19 deletions
diff --git a/sc/source/ui/inc/tabview.hxx b/sc/source/ui/inc/tabview.hxx index 56f237cd6fd5..c188d1a130ae 100644 --- a/sc/source/ui/inc/tabview.hxx +++ b/sc/source/ui/inc/tabview.hxx @@ -516,7 +516,6 @@ public: void InvalidateSplit(); void ErrorMessage( sal_uInt16 nGlobStrId ); - Window* GetParentOrChild( sal_uInt16 nChildId ); void EnableRefInput(bool bFlag = true); diff --git a/sc/source/ui/view/tabview2.cxx b/sc/source/ui/view/tabview2.cxx index 4cb8cd4d9f0c..84e7740065b9 100644 --- a/sc/source/ui/view/tabview2.cxx +++ b/sc/source/ui/view/tabview2.cxx @@ -1429,24 +1429,6 @@ void ScTabView::ErrorMessage( sal_uInt16 nGlobStrId ) pParent->GrabFocus(); } -Window* ScTabView::GetParentOrChild( sal_uInt16 nChildId ) -{ - SfxViewFrame* pViewFrm = aViewData.GetViewShell()->GetViewFrame(); - - if ( pViewFrm->HasChildWindow(nChildId) ) - { - SfxChildWindow* pChild = pViewFrm->GetChildWindow(nChildId); - if (pChild) - { - Window* pWin = pChild->GetWindow(); - if (pWin && pWin->IsVisible()) - return pWin; - } - } - - return aViewData.GetDialogParent(); -} - void ScTabView::UpdatePageBreakData( bool bForcePaint ) { ScPageBreakData* pNewData = NULL; |