diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-12-05 12:53:03 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-12-05 12:58:08 -0500 |
commit | 56bb08e75c12cb85041607f7f34451018b09414f (patch) | |
tree | d1b150b3341f34999138bade3a396aaac4906f6e /sc/inc | |
parent | e2a35977ca056d7bf1dae3a9c41ae135a85892fd (diff) |
fdo#57497: Remove group table data when all group dimensions are gone.
Otherwise ungrouping date grouped dimension may crash, or produce
incorrect results.
Change-Id: I3634e3c0bf8336fc1221f5d234cb7e01eb1f07c6
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/dpsave.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/inc/dpsave.hxx b/sc/inc/dpsave.hxx index 5a97b548e133..948117b90180 100644 --- a/sc/inc/dpsave.hxx +++ b/sc/inc/dpsave.hxx @@ -336,6 +336,8 @@ public: const ScDPDimensionSaveData* GetExistingDimensionData() const { return pDimensionData; } + void RemoveAllGroupDimensions( const rtl::OUString& rSrcDimName, std::vector<rtl::OUString>* pDeletedNames = NULL ); + SC_DLLPUBLIC ScDPDimensionSaveData* GetDimensionData(); // create if not there void SetDimensionData( const ScDPDimensionSaveData* pNew ); // copied void BuildAllDimensionMembers(ScDPTableData* pData); |