sc/inc/pivot.hxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 50a125464eb70cad42ef906d688e89881796cf38
Author: Luboš Luňák <[email protected]>
AuthorDate: Fri Feb 18 08:48:35 2022 +0100
Commit: Luboš Luňák <[email protected]>
CommitDate: Fri Feb 18 13:40:44 2022 +0100
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 <[email protected]>
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
{