diff options
Diffstat (limited to 'sc/source/core/data/drwlayer.cxx')
-rw-r--r-- | sc/source/core/data/drwlayer.cxx | 15 |
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) |