diff options
author | Tsutomu Uchino <hanya@apache.org> | 2014-01-08 12:38:09 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-08 16:08:58 +0000 |
commit | 235c790fdb04c27487de4510a0d51323f5442e70 (patch) | |
tree | 53d840e1887fcb0fb1565302ec798199657bf2a4 /sw | |
parent | 12890dd7adfc70bc562bb2760084515cc1269a38 (diff) |
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
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/doc/doclay.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/doc/doclay.cxx b/sw/source/core/doc/doclay.cxx index cb93f96c3dcf..4b906e81b7be 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 ); |