From 9ae2d9ff4be259ad60bbb10a7488e38ca4eefc11 Mon Sep 17 00:00:00 2001 From: Oliver Specht Date: Tue, 1 Dec 2015 16:19:24 +0100 Subject: tdf#88443:percent value fixed Change-Id: I221f07b930fa1f152b9bf379aa966c02b936abb2 --- sw/source/core/doc/doclay.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw/source/core') diff --git a/sw/source/core/doc/doclay.cxx b/sw/source/core/doc/doclay.cxx index 9aa4b4a19c0c..a9d6835d58f3 100644 --- a/sw/source/core/doc/doclay.cxx +++ b/sw/source/core/doc/doclay.cxx @@ -837,7 +837,7 @@ lcl_InsertLabel(SwDoc & rDoc, SwTextFormatColls *const pTextFormatCollTable, isMath = ( SotExchange::IsMath( aCLSID ) != 0 ); } } - aFrameSize.SetWidthPercent(isMath ? 0 : 1000); + aFrameSize.SetWidthPercent(isMath ? 0 : 100); aFrameSize.SetHeightPercent(SwFormatFrameSize::SYNCED); pNewSet->Put( aFrameSize ); -- cgit v1.2.3