summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uiview
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-01-26 10:44:34 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-01-26 12:14:42 +0000
commitc58d4919f27e54a554a86439ae995dd758fe24c6 (patch)
tree619fa76a382dd484fc7d51dd06cab5583cc656d6 /sw/source/uibase/uiview
parent10d728b63fe3c9885f54c4c6576fa798294533b0 (diff)
coverity#1266438 Unintended comparison to logical negation
Change-Id: I96732e57c4e40b1e9e7ff6b18fa7250b80af31bd
Diffstat (limited to 'sw/source/uibase/uiview')
-rw-r--r--sw/source/uibase/uiview/viewmdi.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/uiview/viewmdi.cxx b/sw/source/uibase/uiview/viewmdi.cxx
index c49c8317e006..2422e31f4a4f 100644
--- a/sw/source/uibase/uiview/viewmdi.cxx
+++ b/sw/source/uibase/uiview/viewmdi.cxx
@@ -439,7 +439,7 @@ IMPL_STATIC_LINK( SwView, MoveNavigationHdl, bool *, pbNext )
if(m_pSrchItem)
{
bool bBackward = m_pSrchItem->GetBackward();
- if(rSh.HasSelection() && !bNext == rSh.IsCrsrPtAtEnd())
+ if (rSh.HasSelection() && bNext != rSh.IsCrsrPtAtEnd())
rSh.SwapPam();
m_pSrchItem->SetBackward(!bNext);
SfxRequest aReq(FN_REPEAT_SEARCH, SfxCallMode::SLOT, pThis->GetPool());