From dd5947b852a2c84e6d35ca6d1e4cb0fd09a49b8d Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 26 Sep 2019 13:41:06 +0200 Subject: loplugin:virtualdead in editeng Change-Id: I72f9cf62f9daeaed5108ede41dd41544204a9745 Reviewed-on: https://gerrit.libreoffice.org/79643 Tested-by: Jenkins Reviewed-by: Noel Grandin --- editeng/source/misc/splwrap.cxx | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'editeng/source/misc') diff --git a/editeng/source/misc/splwrap.cxx b/editeng/source/misc/splwrap.cxx index 5e9cddc5d841..a7b582b66d6a 100644 --- a/editeng/source/misc/splwrap.cxx +++ b/editeng/source/misc/splwrap.cxx @@ -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; -- cgit