svx/source/sidebar/possize/PosSizePropertyPanel.cxx | 6 ++++++ 1 file changed, 6 insertions(+)
New commits: commit 9a7bf47098fe69b5c6069372708918ef94a9d597 Author: Andras Timar <andras.ti...@collabora.com> Date: Wed Jan 28 11:07:00 2015 +0100 tdf#88740 fix sidebar angle rotation i18n Change-Id: I30355f3aaf77b1952e21050e3593e575571d7aaa diff --git a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx index f7f10f8..63de7bb 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) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits