summaryrefslogtreecommitdiffstats
path: root/sc/inc/dpobject.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-07-05 11:17:19 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-07-05 11:19:52 -0400
commitfa2b7eff2d40b6455970b521306c5961e4e3cec4 (patch)
treeb6867782e1eef0e00d791ebd5f700e904567c9ea /sc/inc/dpobject.hxx
parentSwLayHelper: when the page style name changes, we have a first page (diff)
downloadcore-fa2b7eff2d40b6455970b521306c5961e4e3cec4.tar.gz
core-fa2b7eff2d40b6455970b521306c5961e4e3cec4.zip
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.hxx6
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>