From a26b74cc498bf95a5ae4076daafed9e88b9898d2 Mon Sep 17 00:00:00 2001 From: Bjoern Michaelsen Date: Wed, 11 Jun 2014 22:46:17 +0200 Subject: [PATCH] fix the almost fix from ... ... 27fc4354497b406241108b7ef169f5d93e3dc259. Thanks sberg. Change-Id: Ibf0c7926da38ec3835fd0ab21e1383711bfa6034 --- sw/source/core/doc/docbm.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sw/source/core/doc/docbm.cxx b/sw/source/core/doc/docbm.cxx index 563023b77319..dbd9d983be4f 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(pMarkAccess->getAllMarksBegin()[aEntry.m_nBkmkIdx].get())) {