From 55a40209072bac2526e74d5be7dd7be5ccd2c175 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 20 Mar 2012 11:37:07 +0000 Subject: remove ToDouble/ToFloat --- vcl/source/control/field.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl') diff --git a/vcl/source/control/field.cxx b/vcl/source/control/field.cxx index bcb676d37ba5..1a880eb3335b 100644 --- a/vcl/source/control/field.cxx +++ b/vcl/source/control/field.cxx @@ -205,7 +205,7 @@ static sal_Bool ImplNumericGetValue( const XubString& rStr, double& rValue, aStr += aStr2; // Bereichsueberpruefung - double nValue = aStr.ToDouble(); + double nValue = rtl::OUString(aStr).toDouble(); if ( bRound ) { if ( !bNegative ) -- cgit v1.2.3