diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2018-12-02 20:46:02 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2018-12-03 01:20:21 +0100 |
commit | eddee22b0eed069c3ee2929c9b36a9b4fb05f130 (patch) | |
tree | 6ace29c24dfc58407049cef21d6af314f7624e14 /editeng/source/misc | |
parent | 6ed52ecfed5781659cd27ff9aea5d0a04be77cd1 (diff) |
tdf#120703 PVS: V560 A part of conditional expression is always true/false
Change-Id: Id7af9a6eaefc8b49a790eb299620c4fa97067a11
Reviewed-on: https://gerrit.libreoffice.org/64429
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'editeng/source/misc')
-rw-r--r-- | editeng/source/misc/splwrap.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/misc/splwrap.cxx b/editeng/source/misc/splwrap.cxx index 1a4e8568351b..33328dda8d37 100644 --- a/editeng/source/misc/splwrap.cxx +++ b/editeng/source/misc/splwrap.cxx @@ -159,8 +159,8 @@ SvxSpellWrapper::SvxSpellWrapper( vcl::Window* pWn, bOtherCntnt ( bOther ), bHyphen ( false ), bReverse ( false ), - bStartDone ( bOther || ( !bReverse && bStart ) ), - bEndDone ( bReverse && bStart && !bOther ), + bStartDone ( bOther || bStart ), + bEndDone ( false ), bStartChk ( bOther ), bRevAllowed ( false ), bAllRight ( true ) |