[Libreoffice-commits] core.git: sw/source
Stephan Bergmann
sbergman at redhat.com
Wed Jun 11 09:27:37 PDT 2014
sw/source/core/doc/docbm.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 27fc4354497b406241108b7ef169f5d93e3dc259
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Jun 11 18:24:57 2014 +0200
-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
diff --git a/sw/source/core/doc/docbm.cxx b/sw/source/core/doc/docbm.cxx
index f05d867..563023b 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()))
{
More information about the Libreoffice-commits
mailing list