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:
parent
8de4e81b0c
commit
dd5947b852
@ -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
|
||||
|
@ -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,
|
||||
|
@ -108,11 +108,6 @@ void EditSpellWrapper::SpellContinue()
|
||||
SetLast( pEditView->GetImpEditEngine()->ImpSpell( pEditView ) );
|
||||
}
|
||||
|
||||
bool EditSpellWrapper::HasOtherCnt()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
bool EditSpellWrapper::SpellMore()
|
||||
{
|
||||
EditEngine* pEE = pEditView->GetEditEngine();
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user