summaryrefslogtreecommitdiff
path: root/include/formula/paramclass.hxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2018-11-09 12:39:40 +0100
committerEike Rathke <erack@redhat.com>2018-11-09 19:14:09 +0100
commit6ce84da750abcec3139bf12bc212fb2f03460add (patch)
treec8c333458a924bd1c33ed1c233f88888e7a7d43a /include/formula/paramclass.hxx
parent717cdaf4bc864e0b96bfba5f3bc557afe751f50f (diff)
Resolves: tdf#120895 new ParamClass::ReferenceOrRefArray, tdf#58874 related
Too many side conditions are possible with implicit array of references in array mode. Propagate new ReferenceOrRefArray parameter class to indicate the preferred return type for arguments to functions whose parameters explicitly handle array of references. Change-Id: I1f01266495c2ef1941ffe0cb7c2e0a5ae0bb7e69 Reviewed-on: https://gerrit.libreoffice.org/63201 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
Diffstat (limited to 'include/formula/paramclass.hxx')
-rw-r--r--include/formula/paramclass.hxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/formula/paramclass.hxx b/include/formula/paramclass.hxx
index a22854fc890c..a1e564819457 100644
--- a/include/formula/paramclass.hxx
+++ b/include/formula/paramclass.hxx
@@ -36,6 +36,14 @@ namespace formula
PopDoubleRefOrSingleRef() should not have this. */
Reference,
+ /** Like Reference but the function accepts also a list of references
+ (ocUnion svRefList) as one argument AND handles the special case of
+ an array of references in array mode. Then the resulting argument
+ for a parameter in JumpMatrix context may be an array of references
+ which then is to be preferred over a result matrix. This final
+ behaviour is the opposite of SuppressedReferenceOrForceArray. */
+ ReferenceOrRefArray,
+
/** In array formula: convert area reference to array. Function will be
called only once if no Value type is involved. Functions able to
handle a svMatrix parameter but not a formula::svDoubleRef parameter as area