diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-26 13:41:06 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-28 08:59:30 +0200 |
commit | dd5947b852a2c84e6d35ca6d1e4cb0fd09a49b8d (patch) | |
tree | 5136fdc4487a655220571ed8443bd77d797858ec /editeng/source/misc | |
parent | 8de4e81b0ce0aed324e30ae55ba286715f8273f6 (diff) |
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>
Diffstat (limited to 'editeng/source/misc')
-rw-r--r-- | editeng/source/misc/splwrap.cxx | 15 |
1 files changed, 1 insertions, 14 deletions
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; |