summaryrefslogtreecommitdiff
path: root/sc/inc/calcmacros.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2016-11-12 18:58:17 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2016-11-12 21:36:25 -0500
commite8ccf9a2e37ea69fd92974125f824c70af4ef304 (patch)
tree35ed8f0bd5568a1193c78a1972a7b1270d71155a /sc/inc/calcmacros.hxx
parent73e21792efb36209b6ca8c14377e40756f9173b0 (diff)
Let's hook up the pivot table dumper code to Ctrl-Shift-F8 as well.
It dumps the pivot data if the cursor is over a pivot table output, else it dumps the column storage info. Change-Id: I403e381be3f64d139f8bfaca7e477742a65dde9c
Diffstat (limited to 'sc/inc/calcmacros.hxx')
-rw-r--r--sc/inc/calcmacros.hxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/sc/inc/calcmacros.hxx b/sc/inc/calcmacros.hxx
index d2fc1da94b15..d5cffd5db88b 100644
--- a/sc/inc/calcmacros.hxx
+++ b/sc/inc/calcmacros.hxx
@@ -16,13 +16,19 @@
#define DEBUG_AREA_BROADCASTER 0
#define DUMP_COLUMN_STORAGE 0
+#define DUMP_PIVOT_TABLE 0
#ifdef DBG_UTIL
#undef DUMP_COLUMN_STORAGE
#define DUMP_COLUMN_STORAGE 1
+#undef DUMP_PIVOT_TABLE
+#define DUMP_PIVOT_TABLE 1
#endif
-#if DEBUG_PIVOT_TABLE || DUMP_COLUMN_STORAGE || DEBUG_COLUMN_STORAGE || DEBUG_FORMULA_COMPILER || DEBUG_AREA_BROADCASTER
+#if DUMP_PIVOT_TABLE || DEBUG_PIVOT_TABLE || \
+ DUMP_COLUMN_STORAGE || DEBUG_COLUMN_STORAGE || \
+ DEBUG_FORMULA_COMPILER || \
+ DEBUG_AREA_BROADCASTER
#include <iostream>
#include <string>
#include <cstdio>