remove unused GetCurDocViewWin
Change-Id: I7fe825cd1fb9e988eb8037e1f5dca7252c192f33
This commit is contained in:
@@ -53,13 +53,6 @@ SdrPage* DlgEdModel::AllocPage(bool bMasterPage)
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
Window* DlgEdModel::GetCurDocViewWin()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
} // namespace basctl
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
@@ -44,8 +44,6 @@ public:
|
||||
virtual ~DlgEdModel();
|
||||
|
||||
virtual SdrPage* AllocPage(bool bMasterPage);
|
||||
|
||||
virtual Window* GetCurDocViewWin();
|
||||
};
|
||||
|
||||
} // namespace basctl
|
||||
|
@@ -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;
|
||||
|
@@ -92,12 +92,6 @@ void OReportModel::SetChanged( sal_Bool bChanged )
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
Window* OReportModel::GetCurDocViewWin()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
OXUndoEnvironment& OReportModel::GetUndoEnv()
|
||||
{
|
||||
return *m_pUndoEnv;
|
||||
|
@@ -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;
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user