Kaydet (Commit) 7d1e3abe authored tarafından Michael Stahl's avatar Michael Stahl

sw_redlinehide: trivial conversions in objectpositioning/

Change-Id: Ice9c49596d478bd02728827dbd0dc2c77d7a13db
üst 3e6bd153
...@@ -223,7 +223,7 @@ void SwToContentAnchoredObjectPosition::CalcPosition() ...@@ -223,7 +223,7 @@ void SwToContentAnchoredObjectPosition::CalcPosition()
// #i22341# - get top of line, in which the anchor character is. // #i22341# - get top of line, in which the anchor character is.
mnToCharTopOfLine = GetAnchoredObj().GetLastTopOfLine(); mnToCharTopOfLine = GetAnchoredObj().GetLastTopOfLine();
pOrientFrame = &(const_cast<SwTextFrame&>(rAnchorTextFrame).GetFrameAtOfst( pOrientFrame = &(const_cast<SwTextFrame&>(rAnchorTextFrame).GetFrameAtOfst(
rAnch.GetContentAnchor()->nContent.GetIndex() ) ); rAnchorTextFrame.MapModelToViewPos(*rAnch.GetContentAnchor())));
mpToCharOrientFrame = pOrientFrame; mpToCharOrientFrame = pOrientFrame;
} }
} }
......
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