summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKatarina Behrens <bubli@bubli.org>2015-01-27 22:31:20 +0100
committerAndras Timar <andras.timar@collabora.com>2015-01-28 08:36:17 +0100
commit27fdd2c3e9b530a7194bdfd986dbaea14e5c2145 (patch)
tree755e61c0edd5e3ded7c479ee993307e8bf9da5da
parentce7017cdbe5af3f75cded806f69c1040857b557f (diff)
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@collabora.com>
-rw-r--r--svx/source/sidebar/line/LineWidthControl.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/svx/source/sidebar/line/LineWidthControl.cxx b/svx/source/sidebar/line/LineWidthControl.cxx
index 25338524a6ca..960f6e9e4eba 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