[Libreoffice-commits] core.git: sw/source
Tsutomu Uchino
hanya at apache.org
Wed Jan 8 08:09:23 PST 2014
sw/source/core/doc/doclay.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 235c790fdb04c27487de4510a0d51323f5442e70
Author: Tsutomu Uchino <hanya at 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 );
More information about the Libreoffice-commits
mailing list