summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Specht <oliver.specht@cib.de>2015-12-01 16:19:24 +0100
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2016-04-20 01:14:23 +0200
commit3b997090fb95957164d92d845bdb7cd7d15c5acf (patch)
tree3d54f24d657a55d0aaa4f43deeccf1c6521d81e3
parent95a8f1bb0ad7c040b2c96ef0a509dd74dfe16fd7 (diff)
tdf#88443:percent value fixed
Change-Id: I221f07b930fa1f152b9bf379aa966c02b936abb2 (cherry picked from commit 9ae2d9ff4be259ad60bbb10a7488e38ca4eefc11)
-rw-r--r--sw/source/core/doc/doclay.cxx2
1 files changed, 1 insertions, 1 deletions
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 );