[Libreoffice-commits] core.git: Branch 'libreoffice-5-1' - sw/source

Oliver Specht oliver.specht at cib.de
Tue Apr 19 23:14:58 UTC 2016


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

New commits:
commit 3b997090fb95957164d92d845bdb7cd7d15c5acf
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
    (cherry picked from commit 9ae2d9ff4be259ad60bbb10a7488e38ca4eefc11)

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