loplugin:virtualdead in editeng

Change-Id: I72f9cf62f9daeaed5108ede41dd41544204a9745
Reviewed-on: https://gerrit.libreoffice.org/79643
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
Noel Grandin 2019-09-26 13:41:06 +02:00
parent 8de4e81b0c
commit dd5947b852
5 changed files with 1 additions and 24 deletions

View File

@ -70,9 +70,6 @@ include/canvas/base/graphicdevicebase.hxx:319
include/connectivity/sdbcx/IRefreshable.hxx:31
void connectivity::sdbcx::IRefreshableGroups::refreshGroups()
empty
include/editeng/splwrap.hxx:105
_Bool SvxSpellWrapper::HasOtherCnt()
0
include/filter/msfilter/msdffimp.hxx:546
_Bool SvxMSDffManager::ShapeHasText(unsigned long,unsigned long,)const
1

View File

@ -48,7 +48,6 @@ protected:
virtual void SpellContinue() override; // Check area
virtual void ReplaceAll( const OUString &rNewText ) override;
virtual bool SpellMore() override;
virtual bool HasOtherCnt() override;
public:
EditSpellWrapper( vcl::Window* pWin,

View File

@ -108,11 +108,6 @@ void EditSpellWrapper::SpellContinue()
SetLast( pEditView->GetImpEditEngine()->ImpSpell( pEditView ) );
}
bool EditSpellWrapper::HasOtherCnt()
{
return false;
}
bool EditSpellWrapper::SpellMore()
{
EditEngine* pEE = pEditView->GetEditEngine();

View File

@ -230,12 +230,6 @@ void SvxSpellWrapper::SpellStart( SvxSpellArea /*eSpell*/ )
} // given area.
bool SvxSpellWrapper::HasOtherCnt()
{
return false; // Is there a special area?
}
bool SvxSpellWrapper::SpellMore()
{
return false; // Should additional documents be examined?
@ -343,14 +337,7 @@ bool SvxSpellWrapper::SpellNext( )
}
else if ( bStartDone && bEndDone )
{
bool bIsSpellSpecial = xProp.is() && xProp->getIsSpellSpecial();
// Body area done, ask for special area
if( !IsHyphen() && bIsSpellSpecial && HasOtherCnt() )
{
SpellStart( SvxSpellArea::Other );
bOtherCntnt = bGoOn = true;
}
else if ( SpellMore() ) // check another document?
if ( SpellMore() ) // check another document?
{
bOtherCntnt = false;
bStartDone = !bReverse;

View File

@ -102,7 +102,6 @@ protected:
void SetLast(const css::uno::Reference< css::uno::XInterface > &xNewLast)
{ xLast = xNewLast; }
virtual bool SpellMore(); // examine further documents?
virtual bool HasOtherCnt(); // Are there any special areas?
virtual void SpellStart( SvxSpellArea eSpell ); // Preparing the area
virtual void SpellContinue(); // Check Areas
// Result available through GetLast