diff options
Diffstat (limited to 'vcl/source/control/field.cxx')
-rw-r--r-- | vcl/source/control/field.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/control/field.cxx b/vcl/source/control/field.cxx index 59220ac21258..7e70ddb554f6 100644 --- a/vcl/source/control/field.cxx +++ b/vcl/source/control/field.cxx @@ -152,7 +152,7 @@ bool ImplNumericGetValue( const OUString& rStr, sal_Int64& rValue, } } } - if ( !bNegative && bCurrency && !aStr.isEmpty() ) + if (!bNegative && !aStr.isEmpty()) { sal_uInt16 nFormat = rLocaleDataWrappper.getCurrNegativeFormat(); if ( (nFormat == 3) || (nFormat == 6) || // $1- || 1-$ |