summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/core/tool/compiler.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx
index af159268ae49..a95f2da5698c 100644
--- a/sc/source/core/tool/compiler.cxx
+++ b/sc/source/core/tool/compiler.cxx
@@ -5763,12 +5763,9 @@ bool ScCompiler::HandleTableRef()
return true;
}
-bool ScCompiler::IsForceArrayParameter( const formula::FormulaToken* pToken, sal_uInt16 nParam ) const
+formula::ParamClass ScCompiler::GetForceArrayParameter( const formula::FormulaToken* pToken, sal_uInt16 nParam ) const
{
- formula::ParamClass eType = ScParameterClassification::GetParameterType( pToken, nParam);
- return
- eType == formula::ParamClass::ForceArray ||
- eType == formula::ParamClass::ReferenceOrForceArray;
+ return ScParameterClassification::GetParameterType( pToken, nParam);
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */