diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-06-11 18:24:57 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-06-11 18:24:57 +0200 |
commit | 27fc4354497b406241108b7ef169f5d93e3dc259 (patch) | |
tree | 1be86b7164cb346a9b199d77aca434ad82e214bf | |
parent | 12cb1f7e22842e819db8537dc8502f8ef742f916 (diff) |
-Werror,-Wlogical-not-parentheses
...lets assume that was a stray "!" (originally introduced with
fb171e3886c0c28c61f1e1960f7b427644a501fe "add second Restore function for
CntntIdxStore"), esp. given "make check" works fine when removing it. But let
SweetShark have a look at it in any case.
Change-Id: I4d804a5b416a39055613d3104d31cdc314940ef1
-rw-r--r-- | sw/source/core/doc/docbm.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/doc/docbm.cxx b/sw/source/core/doc/docbm.cxx index f05d8678d282..563023b77319 100644 --- a/sw/source/core/doc/docbm.cxx +++ b/sw/source/core/doc/docbm.cxx @@ -2077,7 +2077,7 @@ void CntntIdxStoreImpl::RestoreBkmksLen(SwNode& rNd, sal_uLong nLen, sal_Int32 n SwCntntNode* pCNd = (SwCntntNode*)rNd.GetCntntNode(); BOOST_FOREACH(const BkmkEntry& aEntry, m_aBkmkEntries) { - if( !aEntry.m_nCntnt >= nCorrLen ) + if( aEntry.m_nCntnt >= nCorrLen ) { if (MarkBase* pMark = dynamic_cast<MarkBase*>(pMarkAccess->getAllMarksBegin()[aEntry.m_nBkmkIdx].get())) { |