summaryrefslogtreecommitdiff
path: root/sc/source/core/tool/compiler.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/core/tool/compiler.cxx')
-rw-r--r--sc/source/core/tool/compiler.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx
index 59c259e5131f..05cebc13d384 100644
--- a/sc/source/core/tool/compiler.cxx
+++ b/sc/source/core/tool/compiler.cxx
@@ -5416,4 +5416,12 @@ bool ScCompiler::HandleTableRef()
return true;
}
+bool ScCompiler::IsForceArrayParameter( const formula::FormulaToken* pToken, sal_uInt16 nParam ) const
+{
+ ScParameterClassification::Type eType = ScParameterClassification::GetParameterType( pToken, nParam);
+ return
+ eType == ScParameterClassification::ForceArray ||
+ eType == ScParameterClassification::ReferenceOrForceArray;
+}
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */