[Libreoffice-commits] core.git: cui/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Feb 27 06:38:21 UTC 2019


 cui/source/dialogs/SpellDialog.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 181e560b30a15df0dcad74e7c64afdedfb1a51b5
Author:     Arkadiy Illarionov <qarkai at gmail.com>
AuthorDate: Wed Feb 27 00:47:46 2019 +0300
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Wed Feb 27 07:37:55 2019 +0100

    Remove redundant condition
    
    Change-Id: I21385a37a5e2107069919250dd35812ac5972422
    Reviewed-on: https://gerrit.libreoffice.org/68411
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

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


More information about the Libreoffice-commits mailing list