summaryrefslogtreecommitdiff
path: root/sc/source
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 /sc/source
parent031bf555256f8f827b4f32124f88c4012d28dcd3 (diff)
Change IsForceArrayParameter() to GetForceArrayParameter(), tdf#107724 prep
Change-Id: Icd3400e4ee1c69860908a2ad0ca6e52879f2f725
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: */