diff options
-rw-r--r-- | svx/source/sidebar/possize/PosSizePropertyPanel.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx index f7f10f83a89e..63de7bb25118 100644 --- a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx +++ b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx @@ -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) { |