summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2017-05-09 22:13:35 +0200
committerEike Rathke <erack@redhat.com>2017-05-10 00:39:58 +0200
commitf39e1b1079b04c8d14d3fa4a00d2cf519dba05a5 (patch)
tree531bad639e8f1f260b6fdc429e52dde81b87cd45 /include
parent031bf555256f8f827b4f32124f88c4012d28dcd3 (diff)
Change IsForceArrayParameter() to GetForceArrayParameter(), tdf#107724 prep
Change-Id: Icd3400e4ee1c69860908a2ad0ca6e52879f2f725
Diffstat (limited to 'include')
-rw-r--r--include/formula/FormulaCompiler.hxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/formula/FormulaCompiler.hxx b/include/formula/FormulaCompiler.hxx
index 22bd699e7811..8e4999ffc999 100644
--- a/include/formula/FormulaCompiler.hxx
+++ b/include/formula/FormulaCompiler.hxx
@@ -30,6 +30,7 @@
#include <formula/opcode.hxx>
#include <formula/token.hxx>
#include <formula/types.hxx>
+#include <formula/paramclass.hxx>
#include <rtl/ustrbuf.hxx>
#include <rtl/ustring.hxx>
#include <sal/log.hxx>
@@ -292,9 +293,10 @@ protected:
virtual void CreateStringFromIndex( OUStringBuffer& rBuffer, const FormulaToken* pToken ) const;
virtual void LocalizeString( OUString& rName ) const; // modify rName - input: exact name
- /** Whether parameter nParam (0-based) is forced to array for OpCode eOp.
- Calc: ForceArray or ReferenceOrForceArray type. */
- virtual bool IsForceArrayParameter( const FormulaToken* pToken, sal_uInt16 nParam ) const;
+ /** If a parameter nParam (0-based) is to be forced to array for OpCode
+ eOp, i.e. classified as ParamClass::ForceArray or
+ ParamClass::ReferenceOrForceArray type. */
+ virtual formula::ParamClass GetForceArrayParameter( const FormulaToken* pToken, sal_uInt16 nParam ) const;
void AppendErrorConstant( OUStringBuffer& rBuffer, FormulaError nError ) const;