diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2022-02-18 08:48:35 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2022-03-23 09:09:03 +0100 |
commit | 41a1272402c13b8993d4be389204f19d4218caf5 (patch) | |
tree | 85fa966c24fab02877c9ece3a768cc005cb24823 | |
parent | 4da2ce09aa0f425de54ba95a5d8bc60589df48b6 (diff) |
remove MAXCOLCOUNT from calc pivot implementation
It appears that PIVOT_DATA_FIELD is just a custom special value
that's outside of the valid column range, but otherwise the value
doesn't matter, and -1 is generic.
Change-Id: Ieac1d4e3391f76350dc420e6b2ae9ed9f35d35f7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130124
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
-rw-r--r-- | sc/inc/pivot.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/pivot.hxx b/sc/inc/pivot.hxx index 41a48fa0e3db..a0d1883ada60 100644 --- a/sc/inc/pivot.hxx +++ b/sc/inc/pivot.hxx @@ -51,7 +51,7 @@ #include <com/sun/star/sheet/DataPilotFieldLayoutInfo.hpp> #include <com/sun/star/sheet/DataPilotFieldAutoShowInfo.hpp> -#define PIVOT_DATA_FIELD (MAXCOLCOUNT) +#define PIVOT_DATA_FIELD (SCCOL(-1)) struct SC_DLLPUBLIC ScDPName { |