From 1ecde0f5d1384946c3e684846e681121b3001219 Mon Sep 17 00:00:00 2001 From: Mike Kaganski Date: Thu, 29 Aug 2024 18:13:21 +0500 Subject: 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 --- basic/source/sbx/sbxconv.hxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'basic/source/sbx/sbxconv.hxx') diff --git a/basic/source/sbx/sbxconv.hxx b/basic/source/sbx/sbxconv.hxx index a3837d9a3dbf..8f11122bd319 100644 --- a/basic/source/sbx/sbxconv.hxx +++ b/basic/source/sbx/sbxconv.hxx @@ -64,6 +64,9 @@ extern void ImpCvtNum( double nNum, short nPrec, OUString& rRes, bool bCoreStrin extern ErrCode ImpScan ( const OUString& rSrc, double& nVal, SbxDataType& rType, sal_uInt16* pLen, bool bOnlyIntntl ); +// A version that uses defaults / compatibility settings for bOnlyIntntl +extern ErrCode ImpScan + ( const OUString& rSrc, double& nVal, SbxDataType& rType, sal_uInt16* pLen ); // with advanced evaluation (International, "TRUE"/"FALSE") extern bool ImpConvStringExt( OUString& rSrc, SbxDataType eTargetType ); -- cgit