loplugin:virtualdead

Change-Id: I86bae18ed2682871032aeb2a178f49f3e4601129
Reviewed-on: https://gerrit.libreoffice.org/80129
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
Noel Grandin
2019-10-03 14:51:14 +02:00
parent 09f77e8ed5
commit 9db8406b83
10 changed files with 12 additions and 38 deletions

View File

@@ -31,6 +31,9 @@ Gui/qaccessible.h:613
Gui/qaccessible.h:619
void QAccessibleTableInterface::modelChange(class QAccessibleTableModelChangeEvent *,)
empty
include/basegfx/utils/unopolypolygon.hxx:97
void basegfx::unotools::UnoPolyPolygon::modifying()const
empty
include/canvas/base/bitmapcanvasbase.hxx:80
unsigned char canvas::BitmapCanvasBase::hasAlpha()
1
@@ -52,6 +55,9 @@ include/canvas/base/graphicdevicebase.hxx:319
include/connectivity/sdbcx/IRefreshable.hxx:31
void connectivity::sdbcx::IRefreshableGroups::refreshGroups()
empty
include/dbaccess/ToolBoxHelper.hxx:56
void dbaui::OToolBoxHelper::setImageList(short,)
empty
include/filter/msfilter/msdffimp.hxx:546
_Bool SvxMSDffManager::ShapeHasText(unsigned long,unsigned long,)const
1
@@ -67,6 +73,9 @@ include/svl/svdde.hxx:239
include/svl/svdde.hxx:241
_Bool DdeTopic::MakeItem(const class rtl::OUString &,)
0
include/svl/svdde.hxx:244
_Bool DdeTopic::StartAdviseLoop()
0
include/svtools/unoevent.hxx:199
unsigned short SvEventDescriptor::getMacroItemWhich()const
108
@@ -82,7 +91,9 @@ include/unotools/desktopterminationobserver.hxx:35
include/vbahelper/vbahelperinterface.hxx:77
int InheritedHelperInterfaceImpl::getCreator()
1400204879
unknown2
include/vcl/tabpage.hxx:51
void TabPage::DeactivatePage()
empty
sc/source/core/opencl/formulagroupcl.cxx:1059
void sc::opencl::DynamicKernelSlidingArgument::GenSlidingWindowFunction(class std::__cxx11::basic_stringstream<char> &,)
empty

View File

@@ -52,7 +52,6 @@ namespace dbaui
if ( nCurSymbolsSize != m_nSymbolsSize )
{
m_nSymbolsSize = nCurSymbolsSize;
setImageList(m_nSymbolsSize);
Size aTbOldSize = m_pToolBox->GetSizePixel();
adjustToolBoxSize(m_pToolBox);

View File

@@ -49,12 +49,6 @@ namespace dbaui
*/
virtual void resizeControls(const Size& _rDiff) = 0;
/** will be called when the image list needs to change
@param _eSymbolsSize
<svtools/imgdef.hxx>
*/
virtual void setImageList(sal_Int16 _eSymbolsSize) = 0;
/** only the member will be set, derived classes can override
this function and do what need to be done.
@param _pTB

View File

@@ -48,7 +48,6 @@ public:
virtual void DataChanged( const DataChangedEvent& rDCEvt ) override;
virtual void ActivatePage();
virtual void DeactivatePage();
//To-Do, consider inheriting from VclContainer
virtual void SetPosSizePixel(const Point& rNewPos, const Size& rNewSize) override;

View File

@@ -267,10 +267,6 @@ void Condition::ApplyCommand( sal_uInt16 _nCommandId, const NamedColor& rNamedCo
m_rAction.applyCommand( m_nCondIndex, _nCommandId, rNamedColor.first );
}
void Condition::setImageList(sal_Int16 /*_eBitmapSet*/)
{
}
void Condition::resizeControls(const Size& /*_rDiff*/)
{
}

View File

@@ -125,12 +125,6 @@ namespace rptui
virtual ~Condition() override;
virtual void dispose() override;
/** will be called when the id of the image list needs to change.
@param _eBitmapSet
<svtools/imgdef.hxx>
*/
virtual void setImageList(sal_Int16 _eBitmapSet) override;
/** will be called when the controls need to be resized.
*/
virtual void resizeControls(const Size& _rDiff) override;

View File

@@ -95,15 +95,6 @@ public:
css::uno::Sequence< css::beans::PropertyValue > getSelectedFieldDescriptors();
/** will be called when the id of the image list needs to change.
@param _eBitmapSet
<svtools/imgdef.hxx>
*/
virtual void setImageList(sal_Int16) override
{
//to-do, remove
}
/** will be called when the controls need to be resized.
*/
virtual void resizeControls(const Size& _rDiff) override;

View File

@@ -660,7 +660,6 @@ void TabControl::ImplChangeTabPage( sal_uInt16 nId, sal_uInt16 nOldId )
{
if ( mbRestoreHelpId )
pCtrlParent->SetHelpId( OString() );
pOldPage->DeactivatePage();
}
if ( pPage )

View File

@@ -321,8 +321,6 @@ namespace vcl
return;
TabPage* pOldTabPage = mpCurTabPage;
if ( pOldTabPage )
pOldTabPage->DeactivatePage();
mpCurTabPage = pTabPage;
if ( pTabPage )
@@ -582,9 +580,6 @@ namespace vcl
bool RoadmapWizard::Finish( long nResult )
{
if ( mpCurTabPage )
mpCurTabPage->DeactivatePage();
if ( IsInExecute() )
EndDialog( nResult );
else if ( GetStyle() & WB_CLOSEABLE )

View File

@@ -172,10 +172,6 @@ void TabPage::ActivatePage()
{
}
void TabPage::DeactivatePage()
{
}
Size TabPage::GetOptimalSize() const
{
if (isLayoutEnabled(this))