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

Katarina Behrens bubli at bubli.org
Tue Jan 27 13:50:07 PST 2015


 svx/source/sidebar/line/LineWidthControl.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 8fd9c25ac66dd238d4c68be3974241a18cb21705
Author: Katarina Behrens <bubli at bubli.org>
Date:   Tue Jan 27 22:31:20 2015 +0100

    tdf#82524: Mismatch of ValueSet and metric field values
    
    Regression from commit ab50bc9d4a72193c1fefcbf0652938995094bc41
    which adds space separator between value and unit.
    
    As metric fields now output values with separator, LineWidthValueSet
    items must be adjusted accordingly, otherwise they'll never match
    
    Change-Id: I55778c9c0cc36d968a061e5e35b6db3f2a159977

diff --git a/svx/source/sidebar/line/LineWidthControl.cxx b/svx/source/sidebar/line/LineWidthControl.cxx
index 46830444..f7e1106 100644
--- a/svx/source/sidebar/line/LineWidthControl.cxx
+++ b/svx/source/sidebar/line/LineWidthControl.cxx
@@ -150,6 +150,7 @@ void LineWidthControl::Initialize()
     for(int i = 0; i <= 7 ; i++)
     {
         rStr[i] = rStr[i].replace('.', cSep);//Modify
+        rStr[i] += " ";
         rStr[i] += mstrPT;
     }
     //end


More information about the Libreoffice-commits mailing list