summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-26 09:27:33 +0200
committerNoel Grandin <noel@peralex.com>2014-02-27 10:27:28 +0200
commite113771914f006e568689fe973f913fcc95806c0 (patch)
tree06d1ff2acd4f03a71ac2b8ce1c5855da601588d6 /sc
parent80ff95f62485fc4d8f41686365fbf61663ac62d1 (diff)
remove unused code ScTabView::GetParentOrChild(unsigned short)
Change-Id: I7440cb700c9d33acef842e19ff192cca9ef21cf9
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/inc/tabview.hxx1
-rw-r--r--sc/source/ui/view/tabview2.cxx18
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;