From 58dd850178eb0151f03351b0599fcb88e6b499a8 Mon Sep 17 00:00:00 2001 From: Christian Lippka Date: Wed, 5 May 2010 17:39:48 +0200 Subject: #i89450# removed unused code --- sd/source/ui/docshell/docshell.cxx | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'sd/source/ui/docshell/docshell.cxx') diff --git a/sd/source/ui/docshell/docshell.cxx b/sd/source/ui/docshell/docshell.cxx index f284651b91e5..78b1b9434ad0 100644 --- a/sd/source/ui/docshell/docshell.cxx +++ b/sd/source/ui/docshell/docshell.cxx @@ -548,21 +548,6 @@ void DrawDocShell::SetModified( BOOL bSet /* = TRUE */ ) } } -::Window* DrawDocShell::GetWindow() const -{ - SfxViewFrame* pFrame = GetFrame(); - if( pFrame == NULL ) - pFrame = SfxViewFrame::GetFirst( this ); - - if( pFrame ) - return &(pFrame->GetWindow()); - else - { - DBG_ASSERT( 0, "No active window for DrawDocShell found! (next gpf is caused by this assertion)" ); - return NULL; - } -} - /************************************************************************* |* |* Callback fuer ExecuteSpellPopup() -- cgit