diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-03-14 00:31:56 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-03-14 00:35:29 -0400 |
commit | 49d3e30ec975a348b7b3d82c37137eb8ff6bb52e (patch) | |
tree | 24406babfbffc1700442367369ddb6684e9eb758 /sc/source/ui/inc/dbdocfun.hxx | |
parent | 6aeed3c93bb8c123154bbe47702080c9c1176f39 (diff) |
When changing grouping in one pivot table, update all linked tables.
We need to do this now because we now store the group field data directly
in the pivot cache, which is shared by all referencing tables.
Also, actions involving modification of the cache is not undoable, and
making it undoable would significantly increase Calc's runtime memory
footprint. So, no way.
Diffstat (limited to 'sc/source/ui/inc/dbdocfun.hxx')
-rw-r--r-- | sc/source/ui/inc/dbdocfun.hxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sc/source/ui/inc/dbdocfun.hxx b/sc/source/ui/inc/dbdocfun.hxx index b7beda90392c..9658fef2560f 100644 --- a/sc/source/ui/inc/dbdocfun.hxx +++ b/sc/source/ui/inc/dbdocfun.hxx @@ -105,7 +105,13 @@ public: * Reload the referenced pivot cache, and refresh all pivot tables that * reference the cache. */ - sal_uLong RefreshPivotTables(ScDPObject* pDPObj, bool bRecord, bool bApi); + sal_uLong RefreshPivotTables(ScDPObject* pDPObj, bool bApi); + + /** + * Refresh the group dimensions of all pivot tables referencing the same + * cache. + */ + void RefreshPivotTableGroups(ScDPObject* pDPObj); }; |