[Libreoffice-commits] core.git: sw/source

Oliver Specht oliver.specht at cib.de
Tue Dec 1 07:20:40 PST 2015


 sw/source/core/doc/doclay.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9ae2d9ff4be259ad60bbb10a7488e38ca4eefc11
Author: Oliver Specht <oliver.specht at cib.de>
Date:   Tue Dec 1 16:19:24 2015 +0100

    tdf#88443:percent value fixed
    
    Change-Id: I221f07b930fa1f152b9bf379aa966c02b936abb2

diff --git a/sw/source/core/doc/doclay.cxx b/sw/source/core/doc/doclay.cxx
index 9aa4b4a..a9d6835 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 );
 


More information about the Libreoffice-commits mailing list