diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-07-05 11:17:19 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-07-05 11:19:52 -0400 |
commit | fa2b7eff2d40b6455970b521306c5961e4e3cec4 (patch) | |
tree | b6867782e1eef0e00d791ebd5f700e904567c9ea /sc/inc/dpobject.hxx | |
parent | 40faf88cf0bef76e653e7e9dab707b4c936e7a3e (diff) |
fdo#51266: Sync dimension members in several places upon refresh.
Or else the pivot table would generate erroneous results or crash
after refresh.
Change-Id: Ia14a6e3d25112e6ecd62d21928639f75e6a8ba7c
Diffstat (limited to 'sc/inc/dpobject.hxx')
-rw-r--r-- | sc/inc/dpobject.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sc/inc/dpobject.hxx b/sc/inc/dpobject.hxx index da0fc0943da8..e163ef1cb82c 100644 --- a/sc/inc/dpobject.hxx +++ b/sc/inc/dpobject.hxx @@ -239,6 +239,12 @@ public: void BuildAllDimensionMembers(); + /** + * Remove in the save data entries for members that don't exist anymore. + * This is called during pivot table refresh. + */ + void SyncAllDimensionMembers(); + static bool HasRegisteredSources(); static com::sun::star::uno::Sequence<rtl::OUString> GetRegisteredSources(); static com::sun::star::uno::Reference<com::sun::star::sheet::XDimensionsSupplier> |