diff options
author | Kohei Yoshida <kohei.yoshida@suse.com> | 2012-03-02 16:52:14 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-03-09 11:13:28 -0500 |
commit | 246521c9578e3cb66e610850716ba72f1e9981bc (patch) | |
tree | 8ce6cba13a105c6732f6e3284577e31ee809dc63 /sc/inc/dpgroup.hxx | |
parent | 98b4beebce3720c55ff3302a43d482db8adbc6fe (diff) |
Massive rework to reduce the size of ScDPItemData.
Currently lots of things are broken.
Diffstat (limited to 'sc/inc/dpgroup.hxx')
-rw-r--r-- | sc/inc/dpgroup.hxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sc/inc/dpgroup.hxx b/sc/inc/dpgroup.hxx index f6be836c8567..76a3fcdd65c4 100644 --- a/sc/inc/dpgroup.hxx +++ b/sc/inc/dpgroup.hxx @@ -61,16 +61,19 @@ class ScDPDateGroupHelper { ScDPNumGroupInfo aNumInfo; // only start and end (incl. auto flags) are used sal_Int32 nDatePart; // single part + long mnGroupDim; public: - ScDPDateGroupHelper( const ScDPNumGroupInfo& rInfo, sal_Int32 nPart ); + ScDPDateGroupHelper( const ScDPNumGroupInfo& rInfo, long nDim, sal_Int32 nPart ); ~ScDPDateGroupHelper(); + void SetGroupDim(long nDim); + sal_Int32 GetDatePart() const { return nDatePart; } const ScDPNumGroupInfo& GetNumInfo() const { return aNumInfo; } void FillColumnEntries( - SCCOL nSourceDim, const ScDPCache* pCahe , std::vector<SCROW>& rEntries, + SCCOL nSourceDim, ScDPCache* pCahe , std::vector<SCROW>& rEntries, const std::vector<SCROW>& rOriginal) const; }; @@ -160,7 +163,7 @@ public: SCCOL nSourceDim, const ScDPCache* pCache, const std::vector< SCROW >& rOriginal) const; - void MakeDateHelper( const ScDPNumGroupInfo& rInfo, sal_Int32 nPart ); + void MakeDateHelper( const ScDPNumGroupInfo& rInfo, long nDim, sal_Int32 nPart ); void DisposeData(); }; |