summaryrefslogtreecommitdiffstats
path: root/sc/inc/dpgroup.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2012-03-02 16:52:14 -0500
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-03-09 11:13:28 -0500
commit246521c9578e3cb66e610850716ba72f1e9981bc (patch)
tree8ce6cba13a105c6732f6e3284577e31ee809dc63 /sc/inc/dpgroup.hxx
parentDate field is now determined outside of ScDPItemData. (diff)
downloadcore-246521c9578e3cb66e610850716ba72f1e9981bc.tar.gz
core-246521c9578e3cb66e610850716ba72f1e9981bc.zip
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.hxx9
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();
};