diff options
author | Balazs Varga <balazs.varga.extern@allotropia.de> | 2024-06-06 17:38:39 +0200 |
---|---|---|
committer | Balazs Varga <balazs.varga.extern@allotropia.de> | 2024-06-06 23:39:32 +0200 |
commit | d557d2ae8c3c259bcf01465e6380cad77ed4bdb9 (patch) | |
tree | fb61a48d9570c176a22db7a614fba1c9672e488a /sc/inc | |
parent | 33111d134b0703f682687d144a38acdb48717f3b (diff) |
Related: tdf#137543 - Add new LET function to Calc
Fix parsing name strings in Let function, so the invalid names
will be parsed as an ocBad - svString like before.
follow-up commit: 521a56d8d1e12b7471fda6b62b21d51776c9fbaf
Change-Id: If4645584500ffd85556695b12fa7c99eaa8f7662
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168503
Tested-by: Jenkins
Reviewed-by: Balazs Varga <balazs.varga.extern@allotropia.de>
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/compiler.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/inc/compiler.hxx b/sc/inc/compiler.hxx index e95e5ee78e31..ba53dbb9cb83 100644 --- a/sc/inc/compiler.hxx +++ b/sc/inc/compiler.hxx @@ -331,6 +331,7 @@ private: bool NextNewToken(bool bInArray); bool ToUpperAsciiOrI18nIsAscii( OUString& rUpper, const OUString& rOrg ) const; + short GetPossibleParaCount( const std::u16string_view& rLambdaFormula ) const; virtual void SetError(FormulaError nError) override; @@ -359,7 +360,7 @@ private: bool ParsePredetectedErrRefReference( const OUString& rName, const OUString* pErrRef ); bool ParseMacro( const OUString& ); bool ParseNamedRange( const OUString&, bool onlyCheck = false ); - bool ParseLambdaFuncName( const OUString&, bool bLambdaFunction = false ); + bool ParseLambdaFuncName( const OUString& ); bool ParseExternalNamedRange( const OUString& rSymbol, bool& rbInvalidExternalNameRange ); bool ParseDBRange( const OUString& ); bool ParseColRowName( const OUString& ); |