diff options
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/ww8par.hxx | 2 | ||||
-rw-r--r-- | sw/source/filter/ww8/ww8par6.cxx | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/filter/ww8/ww8par.hxx b/sw/source/filter/ww8/ww8par.hxx index 0f5096961dea..d44e508f6a7e 100644 --- a/sw/source/filter/ww8/ww8par.hxx +++ b/sw/source/filter/ww8/ww8par.hxx @@ -1383,7 +1383,7 @@ private: // a document position recorded the after-position of TOC section, managed by Read_F_TOX() and End_Field() SwPaM* mpPosAfterTOC; - boost::scoped_ptr< SwPosition > lastAnchorPos; + boost::scoped_ptr< SwPosition > mpLastAnchorPos; bool mbCareFirstParaEndInToc; bool mbCareLastParaEndInToc; diff --git a/sw/source/filter/ww8/ww8par6.cxx b/sw/source/filter/ww8/ww8par6.cxx index fb351947be25..69f8582a1c65 100644 --- a/sw/source/filter/ww8/ww8par6.cxx +++ b/sw/source/filter/ww8/ww8par6.cxx @@ -795,10 +795,10 @@ void wwSectionManager::CreateSep(const long nTxtPos, bool /*bMustHaveBreak*/) if (!pSep) return; - if (!maSegments.empty() && mrReader.lastAnchorPos.get() && *mrReader.lastAnchorPos == *mrReader.pPaM->GetPoint()) + if (!maSegments.empty() && mrReader.mpLastAnchorPos.get() && *mrReader.mpLastAnchorPos == *mrReader.pPaM->GetPoint()) { bool insert = true; - SwPaM pam( *mrReader.lastAnchorPos ); + SwPaM pam( *mrReader.mpLastAnchorPos ); if( pam.Move(fnMoveBackward, fnGoNode)) if( SwTxtNode* txtNode = pam.GetPoint()->nNode.GetNode().GetTxtNode()) if( txtNode->Len() == 0 ) @@ -1815,7 +1815,7 @@ WW8SwFlyPara::WW8SwFlyPara( SwPaM& rPaM, //#i53725# - absolute positioned objects have to be // anchored at-paragraph to assure its correct anchor position. eAnchor = FLY_AT_PARA; - rIo.lastAnchorPos.reset( new SwPosition(*rPaM.GetPoint())); + rIo.mpLastAnchorPos.reset( new SwPosition(*rPaM.GetPoint())); switch (nYBind) { |