diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2024-08-29 18:13:21 +0500 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2024-08-30 07:34:31 +0200 |
commit | 1ecde0f5d1384946c3e684846e681121b3001219 (patch) | |
tree | 0a0878c3ce3f45aa80dd931df34dcd7a23c68b84 /basic/source/sbx/sbxuint.cxx | |
parent | 41ad19c719decfdce1f26359277db6bb00002836 (diff) |
Simplify default ImpScan usage
Drop LibreOffice6FloatingPointMode, and move the check introcuced in
commit 47aabde053a1472dc32770da29d68c8de5bd7919 (Make the tdf#97983
changes to BASIC optional) into a simplified ImpScan overload.
Change-Id: Ibef723878179113a5403d2a3c55ded9df9cb292d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172595
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 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/basic/source/sbx/sbxuint.cxx b/basic/source/sbx/sbxuint.cxx index d536ec99e217..2f4f369607bd 100644 --- a/basic/source/sbx/sbxuint.cxx +++ b/basic/source/sbx/sbxuint.cxx @@ -22,7 +22,6 @@ #include <comphelper/errcode.hxx> #include <basic/sberrors.hxx> #include "sbxconv.hxx" -#include <rtlproto.hxx> sal_uInt16 ImpGetUShort( const SbxValues* p ) { @@ -136,7 +135,7 @@ start: { double d; SbxDataType t; - if( ImpScan( *p->pOUString, d, t, nullptr, !LibreOffice6FloatingPointMode() ) != ERRCODE_NONE ) + if( ImpScan( *p->pOUString, d, t, nullptr ) != ERRCODE_NONE ) nRes = 0; else nRes = ImpDoubleToUShort(d); |