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:
@@ -70,9 +70,6 @@ include/canvas/base/graphicdevicebase.hxx:319
|
|||||||
include/connectivity/sdbcx/IRefreshable.hxx:31
|
include/connectivity/sdbcx/IRefreshable.hxx:31
|
||||||
void connectivity::sdbcx::IRefreshableGroups::refreshGroups()
|
void connectivity::sdbcx::IRefreshableGroups::refreshGroups()
|
||||||
empty
|
empty
|
||||||
include/editeng/splwrap.hxx:105
|
|
||||||
_Bool SvxSpellWrapper::HasOtherCnt()
|
|
||||||
0
|
|
||||||
include/filter/msfilter/msdffimp.hxx:546
|
include/filter/msfilter/msdffimp.hxx:546
|
||||||
_Bool SvxMSDffManager::ShapeHasText(unsigned long,unsigned long,)const
|
_Bool SvxMSDffManager::ShapeHasText(unsigned long,unsigned long,)const
|
||||||
1
|
1
|
||||||
|
@@ -48,7 +48,6 @@ protected:
|
|||||||
virtual void SpellContinue() override; // Check area
|
virtual void SpellContinue() override; // Check area
|
||||||
virtual void ReplaceAll( const OUString &rNewText ) override;
|
virtual void ReplaceAll( const OUString &rNewText ) override;
|
||||||
virtual bool SpellMore() override;
|
virtual bool SpellMore() override;
|
||||||
virtual bool HasOtherCnt() override;
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
EditSpellWrapper( vcl::Window* pWin,
|
EditSpellWrapper( vcl::Window* pWin,
|
||||||
|
@@ -108,11 +108,6 @@ void EditSpellWrapper::SpellContinue()
|
|||||||
SetLast( pEditView->GetImpEditEngine()->ImpSpell( pEditView ) );
|
SetLast( pEditView->GetImpEditEngine()->ImpSpell( pEditView ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
bool EditSpellWrapper::HasOtherCnt()
|
|
||||||
{
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool EditSpellWrapper::SpellMore()
|
bool EditSpellWrapper::SpellMore()
|
||||||
{
|
{
|
||||||
EditEngine* pEE = pEditView->GetEditEngine();
|
EditEngine* pEE = pEditView->GetEditEngine();
|
||||||
|
@@ -230,12 +230,6 @@ void SvxSpellWrapper::SpellStart( SvxSpellArea /*eSpell*/ )
|
|||||||
} // given area.
|
} // given area.
|
||||||
|
|
||||||
|
|
||||||
bool SvxSpellWrapper::HasOtherCnt()
|
|
||||||
{
|
|
||||||
return false; // Is there a special area?
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
bool SvxSpellWrapper::SpellMore()
|
bool SvxSpellWrapper::SpellMore()
|
||||||
{
|
{
|
||||||
return false; // Should additional documents be examined?
|
return false; // Should additional documents be examined?
|
||||||
@@ -343,14 +337,7 @@ bool SvxSpellWrapper::SpellNext( )
|
|||||||
}
|
}
|
||||||
else if ( bStartDone && bEndDone )
|
else if ( bStartDone && bEndDone )
|
||||||
{
|
{
|
||||||
bool bIsSpellSpecial = xProp.is() && xProp->getIsSpellSpecial();
|
if ( SpellMore() ) // check another document?
|
||||||
// Body area done, ask for special area
|
|
||||||
if( !IsHyphen() && bIsSpellSpecial && HasOtherCnt() )
|
|
||||||
{
|
|
||||||
SpellStart( SvxSpellArea::Other );
|
|
||||||
bOtherCntnt = bGoOn = true;
|
|
||||||
}
|
|
||||||
else if ( SpellMore() ) // check another document?
|
|
||||||
{
|
{
|
||||||
bOtherCntnt = false;
|
bOtherCntnt = false;
|
||||||
bStartDone = !bReverse;
|
bStartDone = !bReverse;
|
||||||
|
@@ -102,7 +102,6 @@ protected:
|
|||||||
void SetLast(const css::uno::Reference< css::uno::XInterface > &xNewLast)
|
void SetLast(const css::uno::Reference< css::uno::XInterface > &xNewLast)
|
||||||
{ xLast = xNewLast; }
|
{ xLast = xNewLast; }
|
||||||
virtual bool SpellMore(); // examine further documents?
|
virtual bool SpellMore(); // examine further documents?
|
||||||
virtual bool HasOtherCnt(); // Are there any special areas?
|
|
||||||
virtual void SpellStart( SvxSpellArea eSpell ); // Preparing the area
|
virtual void SpellStart( SvxSpellArea eSpell ); // Preparing the area
|
||||||
virtual void SpellContinue(); // Check Areas
|
virtual void SpellContinue(); // Check Areas
|
||||||
// Result available through GetLast
|
// Result available through GetLast
|
||||||
|
Reference in New Issue
Block a user