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