diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-01-26 10:44:34 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-01-26 12:14:42 +0000 |
commit | c58d4919f27e54a554a86439ae995dd758fe24c6 (patch) | |
tree | 619fa76a382dd484fc7d51dd06cab5583cc656d6 /sw/source/uibase/uiview | |
parent | 10d728b63fe3c9885f54c4c6576fa798294533b0 (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.cxx | 2 |
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()); |