From eddee22b0eed069c3ee2929c9b36a9b4fb05f130 Mon Sep 17 00:00:00 2001 From: Mike Kaganski Date: Sun, 2 Dec 2018 20:46:02 +0300 Subject: 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 --- editeng/source/misc/splwrap.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'editeng') 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 ) -- cgit v1.2.3