summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2011-07-14 18:38:16 -0400
committerKohei Yoshida <kyoshida@novell.com>2011-07-14 18:45:43 -0400
commit0e8927f4ab0138f226f70b9e4d772fa06cbf8106 (patch)
treefe1679e4ceb6d27e9c17b9b3e873a3e49549faa5 /sc/inc
parent9d489c96a9c2cc53680739db4905976b2b10d20d (diff)
fdo#37767: Fix broken refresh() from UNO API (and Basic).
We now need to clear the cache before running DataPilotUpdate() in order to re-populate the cache from the source data.
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/dpobject.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/inc/dpobject.hxx b/sc/inc/dpobject.hxx
index ae34b4ba0c52..dc0831eb95a4 100644
--- a/sc/inc/dpobject.hxx
+++ b/sc/inc/dpobject.hxx
@@ -313,6 +313,8 @@ public:
ScDPCollection(const ScDPCollection& r);
~ScDPCollection();
+ bool ClearCache(ScDPObject* pDPObj);
+
SC_DLLPUBLIC size_t GetCount() const;
SC_DLLPUBLIC ScDPObject* operator[](size_t nIndex);
SC_DLLPUBLIC const ScDPObject* operator[](size_t nIndex) const;