diff options
Diffstat (limited to 'vcl/source')
-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 28b8c8e0193e..344b106d5ca3 100644 --- a/vcl/source/control/field.cxx +++ b/vcl/source/control/field.cxx @@ -139,7 +139,7 @@ static sal_Bool ImplNumericGetValue( const OUString& rStr, double& rValue, if ( (nFormat == 3) || (nFormat == 6) || // $1- || 1-$ (nFormat == 7) || (nFormat == 10) ) // 1$- || 1 $- { - for (sal_Int32 i = aStr.getLength()-1; i > 0; i++ ) + for (sal_Int32 i = aStr.getLength()-1; i > 0; --i ) { if ( (aStr[i] >= '0') && (aStr[i] <= '9') ) break; |