summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2018-03-06 18:41:56 +0100
committerAndras Timar <andras.timar@collabora.com>2018-03-26 08:31:42 +0200
commitf12023c185b0dff258c871b9f026906bb53edee3 (patch)
tree41032e35ae7c41d1e791926e55699edc103fdc4a /include
parent4e136b5d0d8fb5bf4712cffbda71979b8c02c3a4 (diff)
Resolves: tdf#116100 fewer array of references cases, tdf#58874 related
In particular if in any ForceArray context use the matrix result instead of the array of references list. (cherry picked from commit cfc6cf5177f8df23af35c4509c0276a19de56cce) Change-Id: I72328a690760637f6d31fadba447641c64711a67 Reviewed-on: https://gerrit.libreoffice.org/50842 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> (cherry picked from commit b52ca1a7cf9e3652ebd433753b6642b6f5124d1f)
Diffstat (limited to 'include')
-rw-r--r--include/formula/paramclass.hxx11
1 files changed, 9 insertions, 2 deletions
diff --git a/include/formula/paramclass.hxx b/include/formula/paramclass.hxx
index e8d411088061..a22854fc890c 100644
--- a/include/formula/paramclass.hxx
+++ b/include/formula/paramclass.hxx
@@ -51,8 +51,15 @@ namespace formula
propagated to subsequent operators and functions being part of a
parameter of this function. Used with functions that treat
references separately from arrays, but need the forced array
- calculation of parameters that are not references.*/
- ReferenceOrForceArray
+ calculation of parameters that are not references. */
+ ReferenceOrForceArray,
+
+ /** Same as ReferenceOrForceArray but suppressed / not inherited in the
+ compiler's ForceArray context to indicate that a result of
+ Reference in JumpMatrix context should use the result matrix
+ instead of the array of references. Never used as initial parameter
+ classification. */
+ SuppressedReferenceOrForceArray
};
}