summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2011-09-14 15:19:12 -0400
committerKohei Yoshida <kohei.yoshida@suse.com>2011-09-14 16:05:57 -0400
commit2f654141fbb81f4dce7953bb1721bf94a5bc67bd (patch)
treed94de26da2da4265399decb24ae1985a6f79244f /sc/inc
parent932ee04999f5f86491eaa35a2359546efc050429 (diff)
Check the source range when refreshing, and abort refresh if invalid.
This avoids refreshing on an invalid source range which causes an empty pivot table output.
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/dpobject.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/dpobject.hxx b/sc/inc/dpobject.hxx
index dc0831eb95a4..f34b0426f641 100644
--- a/sc/inc/dpobject.hxx
+++ b/sc/inc/dpobject.hxx
@@ -313,7 +313,7 @@ public:
ScDPCollection(const ScDPCollection& r);
~ScDPCollection();
- bool ClearCache(ScDPObject* pDPObj);
+ sal_uLong ClearCache(ScDPObject* pDPObj);
SC_DLLPUBLIC size_t GetCount() const;
SC_DLLPUBLIC ScDPObject* operator[](size_t nIndex);