summaryrefslogtreecommitdiffstats
path: root/sc/inc/dpgroup.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-03-09 10:15:52 -0500
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-03-09 11:13:35 -0500
commit0637ca0aefed73b55154c15c8738c100f329a3a8 (patch)
tree551eca27ec05ddb5a6185115126d3c8bd8c9871b /sc/inc/dpgroup.hxx
parentAdded hook to create group field data at cache creation time. (diff)
downloadcore-0637ca0aefed73b55154c15c8738c100f329a3a8.tar.gz
core-0637ca0aefed73b55154c15c8738c100f329a3a8.zip
Populate group dimensions directly to the cache.
This is to avoid populating them twice in case the same cache is referenced by multiple pivot tables.
Diffstat (limited to 'sc/inc/dpgroup.hxx')
-rw-r--r--sc/inc/dpgroup.hxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/sc/inc/dpgroup.hxx b/sc/inc/dpgroup.hxx
index b90c667b7387..5340b70d392b 100644
--- a/sc/inc/dpgroup.hxx
+++ b/sc/inc/dpgroup.hxx
@@ -60,9 +60,7 @@ public:
sal_Int32 GetDatePart() const { return nDatePart; }
const ScDPNumGroupInfo& GetNumInfo() const { return aNumInfo; }
- void FillColumnEntries(
- SCCOL nSourceDim, ScDPCache* pCahe , std::vector<SCROW>& rEntries,
- const std::vector<SCROW>& rOriginal) const;
+ void FillColumnEntries(const ScDPCache* pCache, std::vector<SCROW>& rEntries) const;
};
typedef ::std::vector<ScDPItemData> ScDPItemDataVec;
@@ -143,8 +141,7 @@ public:
const ScDPDateGroupHelper* GetDateHelper() const { return pDateHelper; }
- const std::vector<SCROW>& GetNumEntries(
- SCCOL nSourceDim, ScDPCache* pCache, const std::vector<SCROW>& rOriginal) const;
+ const std::vector<SCROW>& GetNumEntries(SCCOL nSourceDim, const ScDPCache* pCache) const;
void MakeDateHelper( const ScDPNumGroupInfo& rInfo, long nDim, sal_Int32 nPart );