Kaydet (Commit) 84fbd737 authored tarafından Michael Stahl's avatar Michael Stahl

sw_redlinehide: trivial conversions in txtfld.cxx

Change-Id: Ie2b17b4dba14359a1358d4be50846750ef8939b0
üst d64deb9b
......@@ -350,8 +350,8 @@ SwLinePortion *SwTextFormatter::NewExtraPortion( SwTextFormatInfo &rInf )
if( !pHint )
{
pRet = new SwTextPortion;
pRet->SetLen( 1 );
rInf.SetLen( 1 );
pRet->SetLen(TextFrameIndex(1));
rInf.SetLen(TextFrameIndex(1));
return pRet;
}
......@@ -394,7 +394,7 @@ SwLinePortion *SwTextFormatter::NewExtraPortion( SwTextFormatInfo &rInf )
{
const OUString aNothing;
pRet = new SwFieldPortion( aNothing );
rInf.SetLen( 1 );
rInf.SetLen(TextFrameIndex(1));
}
return pRet;
}
......
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