Kaydet (Commit) f8987cff authored tarafından Ivan Timofeev's avatar Ivan Timofeev

fix string conversion

Change-Id: I1fbb5d4c8a279d572fe1ff0d9f06c3eeb7d9a0de
üst d5fc6f61
...@@ -132,14 +132,14 @@ void LineWidthControl::Initialize() ...@@ -132,14 +132,14 @@ void LineWidthControl::Initialize()
rStr = new OUString[9]; rStr = new OUString[9];
//modify, //modify,
rStr[0] = "05"; rStr[0] = "0.5";
rStr[1] = "08"; rStr[1] = "0.8";
rStr[2] = "10"; rStr[2] = "1.0";
rStr[3] = "15"; rStr[3] = "1.5";
rStr[4] = "23"; rStr[4] = "2.3";
rStr[5] = "30"; rStr[5] = "3.0";
rStr[6] = "45"; rStr[6] = "4.5";
rStr[7] = "60"; rStr[7] = "6.0";
rStr[8] = SVX_RESSTR(STR_WIDTH_LAST_CUSTOM); rStr[8] = SVX_RESSTR(STR_WIDTH_LAST_CUSTOM);
const LocaleDataWrapper& rLocaleWrapper( Application::GetSettings().GetLocaleDataWrapper() ); const LocaleDataWrapper& rLocaleWrapper( Application::GetSettings().GetLocaleDataWrapper() );
...@@ -147,7 +147,7 @@ void LineWidthControl::Initialize() ...@@ -147,7 +147,7 @@ void LineWidthControl::Initialize()
for(int i = 0; i <= 7 ; i++) 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; rStr[i] += mstrPT;
} }
//end //end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment