diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2018-11-29 12:07:37 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2018-11-29 13:05:41 +0100 |
commit | b5cd5296ff9601ed0a38909971e0886492d5d7c2 (patch) | |
tree | f16e768eace3743f782dc3d6d659ca324878687e /include/vcl/metaact.hxx | |
parent | 1a9bde76620449f2e718bc02a954ebcfd3426f18 (diff) |
make OpenCL bail out if it can't handle multi-column refs
The opencl code splits SvDoubleRef into subarguments by each column,
but many functions simply treat each subargument as one argument
for the function, thus possibly getting things wrong (e.g. SUMPRODUCT
would make a product of each column and sum those, rather than making
a product of the whole SvDoubleRef).
So bail out if multi-column SvDoubleRef is encountered, unless
the function is known to handle this case properly (either it takes
extra care, such as VLOOKUP, or it doesn't matter, such as SUM, AND, MAX).
Change-Id: Ied89a2fc252fb35fe49796140489ff4588038e25
Reviewed-on: https://gerrit.libreoffice.org/64238
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'include/vcl/metaact.hxx')
0 files changed, 0 insertions, 0 deletions