Kaydet (Commit) a47417fc authored tarafından Caolán McNamara's avatar Caolán McNamara

handle edge case of layouting random text

üst d8c7521f
...@@ -2288,6 +2288,9 @@ SwLinePortion* SwTxtFormatter::MakeRestPortion( const SwLineLayout* pLine, ...@@ -2288,6 +2288,9 @@ SwLinePortion* SwTxtFormatter::MakeRestPortion( const SwLineLayout* pLine,
pCreate = GetInfo().GetMultiCreator( --nMultiPos, 0 ); pCreate = GetInfo().GetMultiCreator( --nMultiPos, 0 );
} }
if (!pCreate)
return pRest;
if( pRest || nMultiPos > nPosition || ( pHelpMulti->IsRuby() && if( pRest || nMultiPos > nPosition || ( pHelpMulti->IsRuby() &&
((SwRubyPortion*)pHelpMulti)->GetRubyOffset() < STRING_LEN ) ) ((SwRubyPortion*)pHelpMulti)->GetRubyOffset() < STRING_LEN ) )
{ {
......
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