From ae531b69b3d8f0aa1bb1438e0af63b0710c9c47a Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Fri, 27 Oct 2017 19:07:59 +0200 Subject: [PATCH] Another ImpGetIntntlSep() fix, tdf#81671 follow-up Change-Id: I9c056a137ab873f677e374d75c4e2f06bf370f21 --- basic/source/sbx/sbxconv.hxx | 2 +- basic/source/sbx/sbxdec.cxx | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/basic/source/sbx/sbxconv.hxx b/basic/source/sbx/sbxconv.hxx index 25edf9bc2163..441729a8d0cc 100644 --- a/basic/source/sbx/sbxconv.hxx +++ b/basic/source/sbx/sbxconv.hxx @@ -33,7 +33,7 @@ extern ErrCode ImpScan // with advanced evaluation (International, "TRUE"/"FALSE") extern bool ImpConvStringExt( OUString& rSrc, SbxDataType eTargetType ); -void ImpGetIntntlSep( sal_Unicode& rcDecimalSep, sal_Unicode& rcThousandSep ); +void ImpGetIntntlSep( sal_Unicode& rcDecimalSep, sal_Unicode& rcThousandSep, sal_Unicode& rcDecimalSepAlt ); // SBXINT.CXX diff --git a/basic/source/sbx/sbxdec.cxx b/basic/source/sbx/sbxdec.cxx index 7896811dec25..b41bc914df92 100644 --- a/basic/source/sbx/sbxdec.cxx +++ b/basic/source/sbx/sbxdec.cxx @@ -203,7 +203,8 @@ bool SbxDecimal::setString( OUString* pOUString ) // Convert delimiter sal_Unicode cDecimalSep; sal_Unicode cThousandSep; - ImpGetIntntlSep( cDecimalSep, cThousandSep ); + sal_Unicode cDecimalSepAlt; + ImpGetIntntlSep( cDecimalSep, cThousandSep, cDecimalSepAlt ); bool bRet = false; HRESULT hResult;