sw/source/core/doc/docbm.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 27fc4354497b406241108b7ef169f5d93e3dc259
Author: Stephan Bergmann <sberg...@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()))
             {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to