summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-04-01 13:19:59 +0200
committerThomas Arnhold <thomas@arnhold.org>2013-04-01 13:20:10 +0200
commit08b91c63131b7e625d2a2c489bc537dafe5c5963 (patch)
tree8e8328f03d9000310e3e71e55d8cd9e7574f459f /sc/source
parent829851c290047a08e419add91bca00234c3b9ef0 (diff)
remove unused GetCurDocViewWin
Change-Id: I7fe825cd1fb9e988eb8037e1f5dca7252c192f33
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/core/data/drwlayer.cxx15
1 files changed, 0 insertions, 15 deletions
diff --git a/sc/source/core/data/drwlayer.cxx b/sc/source/core/data/drwlayer.cxx
index 695036ba8488..6b49b70d82c8 100644
--- a/sc/source/core/data/drwlayer.cxx
+++ b/sc/source/core/data/drwlayer.cxx
@@ -334,21 +334,6 @@ SdrModel* ScDrawLayer::AllocModel() const
return new ScDrawLayer( NULL, aName );
}
-Window* ScDrawLayer::GetCurDocViewWin()
-{
- OSL_ENSURE( pDoc, "ScDrawLayer::GetCurDocViewWin without document" );
- if ( !pDoc )
- return NULL;
-
- SfxViewShell* pViewSh = SfxViewShell::Current();
- SfxObjectShell* pObjSh = pDoc->GetDocumentShell();
-
- if (pViewSh && pViewSh->GetObjectShell() == pObjSh)
- return pViewSh->GetWindow();
-
- return NULL;
-}
-
sal_Bool ScDrawLayer::ScAddPage( SCTAB nTab )
{
if (bDrawIsInUndo)