remove unused GetCurDocViewWin

Change-Id: I7fe825cd1fb9e988eb8037e1f5dca7252c192f33
This commit is contained in:
Thomas Arnhold
2013-04-01 13:19:59 +02:00
parent 829851c290
commit 08b91c6313
6 changed files with 0 additions and 33 deletions

View File

@@ -53,13 +53,6 @@ SdrPage* DlgEdModel::AllocPage(bool bMasterPage)
//----------------------------------------------------------------------------
Window* DlgEdModel::GetCurDocViewWin()
{
return 0;
}
//----------------------------------------------------------------------------
} // namespace basctl
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -44,8 +44,6 @@ public:
virtual ~DlgEdModel();
virtual SdrPage* AllocPage(bool bMasterPage);
virtual Window* GetCurDocViewWin();
};
} // namespace basctl

View File

@@ -63,7 +63,6 @@ public:
virtual void SetChanged(sal_Bool bFlg = sal_True);
virtual SdrPage* AllocPage(bool bMasterPage);
virtual Window* GetCurDocViewWin();
virtual SdrPage* RemovePage(sal_uInt16 nPgNum);
/** returns the numbering type that is used to format page fields in drawing shapes */
virtual SvxNumType GetPageNumType() const;

View File

@@ -92,12 +92,6 @@ void OReportModel::SetChanged( sal_Bool bChanged )
//----------------------------------------------------------------------------
Window* OReportModel::GetCurDocViewWin()
{
return 0;
}
//----------------------------------------------------------------------------
OXUndoEnvironment& OReportModel::GetUndoEnv()
{
return *m_pUndoEnv;

View File

@@ -103,8 +103,6 @@ public:
virtual SdrModel* AllocModel() const;
virtual void SetChanged( sal_Bool bFlg = sal_True );
virtual Window* GetCurDocViewWin();
virtual SdrLayerID GetControlExportLayerId( const SdrObject & ) const;
sal_Bool HasObjects() const;

View File

@@ -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)