sw/source/core/doc/doclay.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 235c790fdb04c27487de4510a0d51323f5442e70 Author: Tsutomu Uchino <ha...@apache.org> Date: Wed Jan 8 12:38:09 2014 +0000 Resolves: #i51453# avoid relative sizing for the picture and... formula wrapped by inserted frame when caption is added (cherry picked from commit 0681d4e0cd7425349600672964e48a5dbbb3c7db) Change-Id: Ie526391b8676c259a77060dbe04c3e7c8ad499c0 diff --git a/sw/source/core/doc/doclay.cxx b/sw/source/core/doc/doclay.cxx index cb93f96..4b906e8 100644 --- a/sw/source/core/doc/doclay.cxx +++ b/sw/source/core/doc/doclay.cxx @@ -1319,7 +1319,7 @@ lcl_InsertLabel(SwDoc & rDoc, SwTxtFmtColls *const pTxtFmtCollTbl, pNewSet->Put( SwFmtHoriOrient( 0, text::HoriOrientation::CENTER ) ); aFrmSize = pOldFmt->GetFrmSize(); - aFrmSize.SetWidthPercent( 100 ); + aFrmSize.SetWidthPercent( 0 ); aFrmSize.SetHeightPercent( 255 ); pNewSet->Put( aFrmSize ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits