[Libreoffice-commits] core.git: sw/source
Bjoern Michaelsen
bjoern.michaelsen at canonical.com
Wed Jun 11 13:48:12 PDT 2014
sw/source/core/doc/docbm.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit a26b74cc498bf95a5ae4076daafed9e88b9898d2
Author: Bjoern Michaelsen <bjoern.michaelsen at canonical.com>
Date: Wed Jun 11 22:46:17 2014 +0200
fix the almost fix from ...
... 27fc4354497b406241108b7ef169f5d93e3dc259. Thanks sberg.
Change-Id: Ibf0c7926da38ec3835fd0ab21e1383711bfa6034
diff --git a/sw/source/core/doc/docbm.cxx b/sw/source/core/doc/docbm.cxx
index 563023b..dbd9d98 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