diff options
author | Andreas Heinisch <andreas.heinisch@yahoo.de> | 2019-11-25 15:14:53 +0100 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2019-11-28 10:21:25 +0100 |
commit | 4fdc90c51e6a1bbb83c1f1826ad5b90dc1ff0ad6 (patch) | |
tree | 17737dea4d38b97e6247d7d0c5daac270c04e55c /basic/source/sbx/sbxuint.cxx | |
parent | fc34df00c47e97fa1a9633c1e14e8b9df52f77f5 (diff) |
tdf#97983 - Added localization for numeric types
For numeric types, take into consideration different locales
Change-Id: I815c195e7ef53a7b958f85932415a16c9a8a1e35
Reviewed-on: https://gerrit.libreoffice.org/83683
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'basic/source/sbx/sbxuint.cxx')
-rw-r--r-- | basic/source/sbx/sbxuint.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/sbx/sbxuint.cxx b/basic/source/sbx/sbxuint.cxx index f1c916bb1a58..a3751e2661a4 100644 --- a/basic/source/sbx/sbxuint.cxx +++ b/basic/source/sbx/sbxuint.cxx @@ -154,7 +154,7 @@ start: { double d; SbxDataType t; - if( ImpScan( *p->pOUString, d, t, nullptr, false ) != ERRCODE_NONE ) + if( ImpScan( *p->pOUString, d, t, nullptr, true ) != ERRCODE_NONE ) nRes = 0; else if( !o3tl::convertsToAtMost(o3tl::roundAway(d), SbxMAXUINT) ) { |