loplugin:unnecessaryvirtual
Change-Id: I572b83949c7e643536b7d62567760546509e4d9f Reviewed-on: https://gerrit.libreoffice.org/30514 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
@@ -181,7 +181,7 @@ public:
|
||||
virtual void SetGraphicBrush( const SvxBrushItem* pBrushItem, const Size* pSize = nullptr, const sal_Int16* pOrient = nullptr);
|
||||
const SvxBrushItem* GetBrush() const {return pGraphicBrush;}
|
||||
void SetGraphic( const OUString& rName );
|
||||
virtual sal_Int16 GetVertOrient() const;
|
||||
sal_Int16 GetVertOrient() const;
|
||||
void SetGraphicSize(const Size& rSet) {aGraphicSize = rSet;}
|
||||
const Size& GetGraphicSize() const {return aGraphicSize;}
|
||||
|
||||
|
@@ -137,7 +137,6 @@ public:
|
||||
|
||||
FloatingWindow* GetFloatingWindow() const;
|
||||
|
||||
virtual void Resizing( Size& rSize );
|
||||
static void RegisterChildWindowContext(SfxModule*, sal_uInt16, SfxChildWinContextFactory*);
|
||||
};
|
||||
|
||||
|
@@ -46,7 +46,6 @@ public:
|
||||
WinBits nBits );
|
||||
|
||||
virtual void Resize() override;
|
||||
virtual void Resizing( Size& rSize ) override;
|
||||
virtual bool Close() override;
|
||||
};
|
||||
|
||||
|
@@ -433,7 +433,7 @@ public:
|
||||
bool IsSecurityOptOpenReadOnly() const;
|
||||
void SetSecurityOptOpenReadOnly( bool bOpenReadOnly = true );
|
||||
|
||||
virtual Size GetFirstPageSize();
|
||||
Size GetFirstPageSize();
|
||||
bool DoClose();
|
||||
virtual void PrepareReload();
|
||||
std::shared_ptr<GDIMetaFile> GetPreviewMetaFile( bool bFullContent = false ) const;
|
||||
|
@@ -146,7 +146,7 @@ public:
|
||||
const OUString& GetName() const;
|
||||
|
||||
virtual const SfxPoolItem& Put( const SfxPoolItem&, sal_uInt16 nWhich = 0 );
|
||||
virtual void Remove( const SfxPoolItem& );
|
||||
void Remove( const SfxPoolItem& );
|
||||
const SfxPoolItem& GetDefaultItem( sal_uInt16 nWhich ) const;
|
||||
|
||||
const SfxPoolItem* LoadItem( SvStream &rStream,
|
||||
|
@@ -182,7 +182,7 @@ public:
|
||||
|
||||
virtual void ClearPageView() override;
|
||||
virtual void HideSdrPage() override;
|
||||
virtual bool IsObjMarkable(SdrObject* pObj, SdrPageView* pPV) const;
|
||||
bool IsObjMarkable(SdrObject* pObj, SdrPageView* pPV) const;
|
||||
|
||||
// Returns sal_True if objects, points or glue points are selected by drawing a frame
|
||||
// (as long as the frame is drawn).
|
||||
|
@@ -636,7 +636,7 @@ public:
|
||||
void ImpSetAnchorPos(const Point& rPnt);
|
||||
virtual void NbcSetAnchorPos(const Point& rPnt);
|
||||
virtual void SetAnchorPos(const Point& rPnt);
|
||||
virtual const Point& GetAnchorPos() const;
|
||||
const Point& GetAnchorPos() const;
|
||||
|
||||
/// Snap is not done on the BoundRect but if possible on logic coordinates
|
||||
/// (i.e. without considering stroke width, ...)
|
||||
|
@@ -490,7 +490,7 @@ public:
|
||||
virtual void NbcSetOutlinerParaObject(OutlinerParaObject* pTextObject) override;
|
||||
void NbcSetOutlinerParaObjectForText( OutlinerParaObject* pTextObject, SdrText* pText );
|
||||
virtual OutlinerParaObject* GetOutlinerParaObject() const override;
|
||||
virtual OutlinerParaObject* GetEditOutlinerParaObject() const;
|
||||
OutlinerParaObject* GetEditOutlinerParaObject() const;
|
||||
|
||||
virtual void NbcReformatText() override;
|
||||
virtual void ReformatText() override;
|
||||
|
@@ -199,8 +199,6 @@ public:
|
||||
|
||||
virtual bool Close();
|
||||
virtual void TitleButtonClick( TitleButton nButton );
|
||||
virtual void Pin();
|
||||
virtual void Roll();
|
||||
virtual void Resizing( Size& rSize );
|
||||
virtual void Resize() override;
|
||||
virtual Size GetOptimalSize() const override;
|
||||
|
@@ -83,7 +83,7 @@ public:
|
||||
// moved from inline to *.cxx
|
||||
virtual bool MouseButtonDown(const MouseEvent& rMEvt); // { return FALSE; }
|
||||
|
||||
virtual sal_uInt8 Command(const CommandEvent& rCEvt);
|
||||
sal_uInt8 Command(const CommandEvent& rCEvt);
|
||||
|
||||
virtual void Activate();
|
||||
virtual void Deactivate();
|
||||
|
@@ -537,10 +537,6 @@ FloatingWindow* SfxChildWindowContext::GetFloatingWindow() const
|
||||
}
|
||||
}
|
||||
|
||||
void SfxChildWindowContext::Resizing( Size& )
|
||||
{
|
||||
}
|
||||
|
||||
void SfxChildWindow::SetFactory_Impl( SfxChildWinFactory *pF )
|
||||
{
|
||||
pImpl->pFact = pF;
|
||||
|
@@ -64,16 +64,6 @@ void SfxNavigator::Resize()
|
||||
pWrapper->GetContextWindow()->SetSizePixel( GetOutputSizePixel() );
|
||||
}
|
||||
|
||||
void SfxNavigator::Resizing( Size &rSize )
|
||||
{
|
||||
SfxDockingWindow::Resizing( rSize );
|
||||
|
||||
SfxChildWindowContext *pCon = GetChildWindow_Impl()->GetContext_Impl();
|
||||
DBG_ASSERT( pCon, "No Context!" );
|
||||
if ( pCon )
|
||||
pCon->Resizing( rSize );
|
||||
}
|
||||
|
||||
bool SfxNavigator::Close()
|
||||
{
|
||||
DBG_ASSERT( GetChildWindow_Impl()->GetContext_Impl(), "No Context!" );
|
||||
|
@@ -908,7 +908,6 @@ bool ImplStdBorderWindowView::MouseButtonDown( const MouseEvent& rMEvt )
|
||||
pClientWindow->RollDown();
|
||||
else
|
||||
pClientWindow->RollUp();
|
||||
pClientWindow->Roll();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -981,7 +980,6 @@ bool ImplStdBorderWindowView::Tracking( const TrackingEvent& rTEvt )
|
||||
pClientWindow->RollDown();
|
||||
else
|
||||
pClientWindow->RollUp();
|
||||
pClientWindow->Roll();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1059,7 +1057,6 @@ bool ImplStdBorderWindowView::Tracking( const TrackingEvent& rTEvt )
|
||||
{
|
||||
SystemWindow* pClientWindow = static_cast<SystemWindow*>(pBorderWindow->ImplGetClientWindow());
|
||||
pClientWindow->SetPin( !pClientWindow->IsPinned() );
|
||||
pClientWindow->Pin();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -298,14 +298,6 @@ void SystemWindow::TitleButtonClick( TitleButton )
|
||||
{
|
||||
}
|
||||
|
||||
void SystemWindow::Pin()
|
||||
{
|
||||
}
|
||||
|
||||
void SystemWindow::Roll()
|
||||
{
|
||||
}
|
||||
|
||||
void SystemWindow::Resizing( Size& )
|
||||
{
|
||||
}
|
||||
|
Reference in New Issue
Block a user