Kaydet (Commit) a26b74cc authored tarafından Bjoern Michaelsen's avatar Bjoern Michaelsen

fix the almost fix from ...

... 27fc4354. Thanks sberg.

Change-Id: Ibf0c7926da38ec3835fd0ab21e1383711bfa6034
üst 26b1c430
...@@ -2077,7 +2077,7 @@ void CntntIdxStoreImpl::RestoreBkmksLen(SwNode& rNd, sal_uLong nLen, sal_Int32 n ...@@ -2077,7 +2077,7 @@ void CntntIdxStoreImpl::RestoreBkmksLen(SwNode& rNd, sal_uLong nLen, sal_Int32 n
SwCntntNode* pCNd = (SwCntntNode*)rNd.GetCntntNode(); SwCntntNode* pCNd = (SwCntntNode*)rNd.GetCntntNode();
BOOST_FOREACH(const BkmkEntry& aEntry, m_aBkmkEntries) 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())) if (MarkBase* pMark = dynamic_cast<MarkBase*>(pMarkAccess->getAllMarksBegin()[aEntry.m_nBkmkIdx].get()))
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment