From 181e560b30a15df0dcad74e7c64afdedfb1a51b5 Mon Sep 17 00:00:00 2001 From: Arkadiy Illarionov Date: Wed, 27 Feb 2019 00:47:46 +0300 Subject: [PATCH] Remove redundant condition Change-Id: I21385a37a5e2107069919250dd35812ac5972422 Reviewed-on: https://gerrit.libreoffice.org/68411 Tested-by: Jenkins Reviewed-by: Noel Grandin --- cui/source/dialogs/SpellDialog.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx index 567006f0d492..8b41f7fd8eea 100644 --- a/cui/source/dialogs/SpellDialog.cxx +++ b/cui/source/dialogs/SpellDialog.cxx @@ -1851,7 +1851,7 @@ svx::SpellPortions SentenceEditWindow_Impl::CreateSpellPortions() const aRet.push_back(aPortion1); } - else if(!aBreakPositions.empty()) + else { LanguagePositions_Impl::iterator aStart = aBreakPositions.begin(); //start should always be Null