[Libreoffice-commits] core.git: Branch 'libreoffice-4-3' - svx/source

Katarina Behrens bubli at bubli.org
Tue Jan 27 23:37:30 PST 2015


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

New commits:
commit 27fdd2c3e9b530a7194bdfd986dbaea14e5c2145
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
    (cherry picked from commit 8fd9c25ac66dd238d4c68be3974241a18cb21705)
    Signed-off-by: Andras Timar <andras.timar at collabora.com>

diff --git a/svx/source/sidebar/line/LineWidthControl.cxx b/svx/source/sidebar/line/LineWidthControl.cxx
index 2533852..960f6e9 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