summaryrefslogtreecommitdiff
path: root/sc/inc/pivot.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2012-02-17 14:36:02 -0500
committerKohei Yoshida <kohei.yoshida@suse.com>2012-02-22 14:02:02 -0500
commit1f4ce4ed9f8e9e47e866dc7a7a5d1ad292a4d78c (patch)
treedb6b4571f67ed5ea2f7358ac7e5216e2a7f4c9d9 /sc/inc/pivot.hxx
parentc8cfc307d0b62dee93c4843a0f6f0c0660543e93 (diff)
Some cleanups.
* No source column offset since we only store 0-based field index everywhere now. * No more function count since each pivot field can only have one function.
Diffstat (limited to 'sc/inc/pivot.hxx')
-rw-r--r--sc/inc/pivot.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/inc/pivot.hxx b/sc/inc/pivot.hxx
index aa857c1431f6..7d173e9b591a 100644
--- a/sc/inc/pivot.hxx
+++ b/sc/inc/pivot.hxx
@@ -73,9 +73,8 @@ struct ScDPLabelData;
struct PivotField
{
- SCsCOL nCol;
+ SCsCOL nCol; /// 0-based dimension index (not source column index)
sal_uInt16 nFuncMask;
- sal_uInt16 nFuncCount;
sal_uInt8 mnDupCount;
::com::sun::star::sheet::DataPilotFieldReference maFieldRef;
@@ -129,8 +128,9 @@ struct ScDPLabelData
{
::rtl::OUString maName; /// Original name of the dimension.
::rtl::OUString maLayoutName; /// Layout name (display name)
- SCCOL mnCol;
+ SCCOL mnCol; /// 0-based field index (not the source column index)
sal_uInt16 mnFuncMask; /// Page/Column/Row subtotal function.
+ sal_uInt8 mnDupCount;
sal_Int32 mnUsedHier; /// Used hierarchy.
sal_Int32 mnFlags; /// Flags from the DataPilotSource dimension
bool mbShowAll; /// true = Show all (also empty) results.