summaryrefslogtreecommitdiff
path: root/sd/source/ui/docshell
diff options
context:
space:
mode:
authorChristian Lippka <christian.lippka@sun.com>2010-06-14 18:49:32 +0200
committerChristian Lippka <christian.lippka@sun.com>2010-06-14 18:49:32 +0200
commitdefcfcf416a0d25c104e8f492e14049814db51e2 (patch)
tree9ab15168771fa958b32a58b4656041343b9b7732 /sd/source/ui/docshell
parentf3b2db1efb379596f0269e439a35b5575b616b2c (diff)
parentf7a274b959bef49abf7f3ff45137d03c041f4a6d (diff)
cws impress190: rebase m82
Diffstat (limited to 'sd/source/ui/docshell')
-rwxr-xr-x[-rw-r--r--]sd/source/ui/docshell/docshel4.cxx12
-rwxr-xr-x[-rw-r--r--]sd/source/ui/docshell/docshell.cxx15
2 files changed, 0 insertions, 27 deletions
diff --git a/sd/source/ui/docshell/docshel4.cxx b/sd/source/ui/docshell/docshel4.cxx
index 29218a7b985a..a033661e7c85 100644..100755
--- a/sd/source/ui/docshell/docshel4.cxx
+++ b/sd/source/ui/docshell/docshel4.cxx
@@ -312,18 +312,6 @@ BOOL DrawDocShell::InitNew( const ::com::sun::star::uno::Reference< ::com::sun::
|*
\************************************************************************/
-sal_Bool DrawDocShell::IsNewDocument() const
-{
- return( mbNewDocument &&
- ( !GetMedium() || GetMedium()->GetURLObject().GetProtocol() == INET_PROT_NOT_VALID ) );
-}
-
-/*************************************************************************
-|*
-|* Load: Pools und Dokument laden
-|*
-\************************************************************************/
-
BOOL DrawDocShell::Load( SfxMedium& rMedium )
{
mbNewDocument = sal_False;
diff --git a/sd/source/ui/docshell/docshell.cxx b/sd/source/ui/docshell/docshell.cxx
index f284651b91e5..78b1b9434ad0 100644..100755
--- 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()