summaryrefslogtreecommitdiff
path: root/sc/inc/dpobject.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2012-01-23 16:34:15 -0500
committerKohei Yoshida <kohei.yoshida@suse.com>2012-01-23 16:36:21 -0500
commit561b044d62f4701e51abb4a7c47ce3b07f788f8e (patch)
tree7a7985958e4be8e7f9844580d82a145177d665d6 /sc/inc/dpobject.hxx
parent6c0a26274629ae4f83105aa5f038d21b5c8ca7d0 (diff)
Fix refresh problem on pivot tables whose data cache have not been created.
Diffstat (limited to 'sc/inc/dpobject.hxx')
-rw-r--r--sc/inc/dpobject.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/sc/inc/dpobject.hxx b/sc/inc/dpobject.hxx
index a894833f07d0..f7126b12e421 100644
--- a/sc/inc/dpobject.hxx
+++ b/sc/inc/dpobject.hxx
@@ -328,6 +328,7 @@ public:
ScDocument* mpDoc;
public:
DBCaches(ScDocument* pDoc);
+ bool hasCache(sal_Int32 nSdbType, const rtl::OUString& rDBName, const rtl::OUString& rCommand) const;
const ScDPCache* getCache(sal_Int32 nSdbType, const ::rtl::OUString& rDBName, const ::rtl::OUString& rCommand);
private:
@@ -382,6 +383,12 @@ private:
/** Only to be called from ScDPCache::RemoveReference(). */
void RemoveCache(const ScDPCache* pCache);
+ void GetAllTables(const ScRange& rSrcRange, std::set<ScDPObject*>& rRefs) const;
+ void GetAllTables(const rtl::OUString& rSrcName, std::set<ScDPObject*>& rRefs) const;
+ void GetAllTables(
+ sal_Int32 nSdbType, const ::rtl::OUString& rDBName, const ::rtl::OUString& rCommand,
+ std::set<ScDPObject*>& rRefs) const;
+
private:
typedef ::boost::ptr_vector<ScDPObject> TablesType;