Kaydet (Commit) 303df30f authored tarafından Philipp Riemer's avatar Philipp Riemer

fix merge peculiarities

Change-Id: I8f01f16c52624611ac19dbd040ba0389ceccece2
üst a6fe53dc
...@@ -1928,7 +1928,7 @@ throw (lang::IllegalArgumentException, uno::RuntimeException, std::exception) ...@@ -1928,7 +1928,7 @@ throw (lang::IllegalArgumentException, uno::RuntimeException, std::exception)
else else
pDoc->InsertPoolItem(aPam, aFmt, nInsertFlags); pDoc->InsertPoolItem(aPam, aFmt, nInsertFlags);
SwTxtAttr* pTxtAttr = aPam.GetNode()->GetTxtNode()->GetFldTxtAttrAt( aPam.GetPoint()->nContent.GetIndex()-1, true ); SwTxtAttr* pTxtAttr = aPam.GetNode().GetTxtNode()->GetFldTxtAttrAt( aPam.GetPoint()->nContent.GetIndex()-1, true );
// What about updating the fields? (see fldmgr.cxx) // What about updating the fields? (see fldmgr.cxx)
if (pTxtAttr) if (pTxtAttr)
......
...@@ -2708,7 +2708,7 @@ void SwXFrame::attachToRange(const uno::Reference< text::XTextRange > & xTextRan ...@@ -2708,7 +2708,7 @@ void SwXFrame::attachToRange(const uno::Reference< text::XTextRange > & xTextRan
{ {
eAnchorId = ((const SwFmtAnchor*)pItem)->GetAnchorId(); eAnchorId = ((const SwFmtAnchor*)pItem)->GetAnchorId();
if( FLY_AT_FLY == eAnchorId && if( FLY_AT_FLY == eAnchorId &&
!aPam.GetNode()->FindFlyStartNode()) !aPam.GetNode().FindFlyStartNode())
{ {
// framebound only where a frame exists // framebound only where a frame exists
SwFmtAnchor aAnchor(FLY_AT_PARA); SwFmtAnchor aAnchor(FLY_AT_PARA);
......
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