summaryrefslogtreecommitdiff
path: root/editeng/source/misc
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2018-12-02 20:46:02 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2018-12-03 01:20:21 +0100
commiteddee22b0eed069c3ee2929c9b36a9b4fb05f130 (patch)
tree6ace29c24dfc58407049cef21d6af314f7624e14 /editeng/source/misc
parent6ed52ecfed5781659cd27ff9aea5d0a04be77cd1 (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.cxx4
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 )