Kaydet (Commit) 0681d4e0 authored tarafından Tsutomu Uchino's avatar Tsutomu Uchino

#i51453# avoid relative sizing for the picture and formula wrapped by inserted…

#i51453# avoid relative sizing for the picture and formula wrapped by inserted frame when caption is added
üst 2d7bf3f9
......@@ -1422,7 +1422,7 @@ lcl_InsertLabel(SwDoc & rDoc, SwTxtFmtColls *const pTxtFmtCollTbl,
pNewSet->Put( SwFmtHoriOrient( 0, text::HoriOrientation::CENTER, text::RelOrientation::FRAME ) );
aFrmSize = pOldFmt->GetFrmSize();
aFrmSize.SetWidthPercent( 100 );
aFrmSize.SetWidthPercent( 0 );
aFrmSize.SetHeightPercent( 255 );
pNewSet->Put( aFrmSize );
......
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