From f8987cff841a5fd13d72a85fc88a0e6fc742cbd5 Mon Sep 17 00:00:00 2001 From: Ivan Timofeev Date: Mon, 7 Oct 2013 20:54:35 +0400 Subject: [PATCH] fix string conversion Change-Id: I1fbb5d4c8a279d572fe1ff0d9f06c3eeb7d9a0de --- svx/source/sidebar/line/LineWidthControl.cxx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/svx/source/sidebar/line/LineWidthControl.cxx b/svx/source/sidebar/line/LineWidthControl.cxx index 38b86f46330e..816f34e68e39 100644 --- a/svx/source/sidebar/line/LineWidthControl.cxx +++ b/svx/source/sidebar/line/LineWidthControl.cxx @@ -132,14 +132,14 @@ void LineWidthControl::Initialize() rStr = new OUString[9]; //modify, - rStr[0] = "05"; - rStr[1] = "08"; - rStr[2] = "10"; - rStr[3] = "15"; - rStr[4] = "23"; - rStr[5] = "30"; - rStr[6] = "45"; - rStr[7] = "60"; + rStr[0] = "0.5"; + rStr[1] = "0.8"; + rStr[2] = "1.0"; + rStr[3] = "1.5"; + rStr[4] = "2.3"; + rStr[5] = "3.0"; + rStr[6] = "4.5"; + rStr[7] = "6.0"; rStr[8] = SVX_RESSTR(STR_WIDTH_LAST_CUSTOM); const LocaleDataWrapper& rLocaleWrapper( Application::GetSettings().GetLocaleDataWrapper() ); @@ -147,7 +147,7 @@ void LineWidthControl::Initialize() for(int i = 0; i <= 7 ; i++) { - rStr[i] = rStr[i].replaceAt(1, 1, OUString(cSep));//Modify + rStr[i] = rStr[i].replace('.', cSep);//Modify rStr[i] += mstrPT; } //end