Kaydet (Commit) 9a7bf470 authored tarafından Andras Timar's avatar Andras Timar

tdf#88740 fix sidebar angle rotation i18n

Change-Id: I30355f3aaf77b1952e21050e3593e575571d7aaa
üst 20b02912
......@@ -488,6 +488,12 @@ IMPL_LINK( PosSizePropertyPanel, AngleModifiedHdl, void *, EMPTYARG )
if( (nChar < '0') || (nChar > '9') )
return 0;
const LocaleDataWrapper& rLocaleWrapper( Application::GetSettings().GetLocaleDataWrapper() );
const sal_Unicode cSep = rLocaleWrapper.getNumDecimalSep()[0];
sTmp = sTmp.replace(cSep,'.'); // toDouble() expects decimal point
double dTmp = sTmp.toDouble();
if(bNegative)
{
......
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