Kaydet (Commit) 9b87346b authored tarafından Michael Stahl's avatar Michael Stahl

sw33bf06: #i111886#: apply patch by od:

 SwToCntntAnchoredObjectPosition::CalcPosition(): use the cached paragraph
  portions; recalculating deletes layout frames that are on call stack (crash)
üst 513cbeb4
...@@ -213,9 +213,11 @@ void SwToCntntAnchoredObjectPosition::CalcPosition() ...@@ -213,9 +213,11 @@ void SwToCntntAnchoredObjectPosition::CalcPosition()
!GetAnchoredObj().GetLastCharRect().Width() ) || !GetAnchoredObj().GetLastCharRect().Width() ) ||
!GetAnchoredObj().GetLastTopOfLine() ) !GetAnchoredObj().GetLastTopOfLine() )
{ {
// --> OD 2004-07-15 #117380# - suppress check for paragraph // --> OD 2010-07-02 #i111886#
// portion information by passing <false> as first parameter // Check existence of paragraph portion information in order
GetAnchoredObj().CheckCharRectAndTopOfLine( false ); // to avoid formatting which could cause deletion of follow frames.
GetAnchoredObj().CheckCharRectAndTopOfLine();
// <--
// OD 2005-01-12 - Due to table break algorithm the character // OD 2005-01-12 - Due to table break algorithm the character
// rectangle can have no height. Thus, check also the width // rectangle can have no height. Thus, check also the width
if ( ( !GetAnchoredObj().GetLastCharRect().Height() && if ( ( !GetAnchoredObj().GetLastCharRect().Height() &&
......
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