Kaydet (Commit) 92a2445f authored tarafından Michael Stahl's avatar Michael Stahl

sw: fix another wrong call of SwTxtPortion copy-ctor

Not sure what it should do, but given the parameter is SwLineLayout
it will set POR_LAY on a SwTxtPortion which is wrong.

Change-Id: I4296bcdf9e788338eb007ad09eae675a9fdc6a75
üst 8875c2e0
......@@ -678,7 +678,7 @@ void SwRubyPortion::_Adjust( SwTxtFormatInfo &rInf )
if( nLeft || nRight )
{
if( !pCurr->GetPortion() )
pCurr->SetPortion( new SwTxtPortion( *pCurr ) );
pCurr->SetPortion(new SwTxtPortion(*static_cast<SwLinePortion*>(pCurr)));
if( nLeft )
{
SwMarginPortion *pMarg = new SwMarginPortion( 0 );
......
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