summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2012-01-11 22:00:50 -0500
committerKohei Yoshida <kohei.yoshida@suse.com>2012-01-11 22:01:57 -0500
commitca73d85cc813a2a95fbbba35be6de6dc5ff2967f (patch)
tree6ddc74fc53a5aced2e0c20f7360e9015f15c5233 /sc/inc
parent278c91304cbfb66b05cd39c16282bde944758093 (diff)
Test code for sheet source data cache relocation.
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/dpobject.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/inc/dpobject.hxx b/sc/inc/dpobject.hxx
index 48e43eb60e67..dc2094484a20 100644
--- a/sc/inc/dpobject.hxx
+++ b/sc/inc/dpobject.hxx
@@ -266,6 +266,7 @@ public:
ScDocument* mpDoc;
public:
SheetCaches(ScDocument* pDoc);
+ bool hasCache(const ScRange& rRange) const;
const ScDPCache* getCache(const ScRange& rRange);
void updateReference(
@@ -286,7 +287,7 @@ public:
ScDocument* mpDoc;
public:
NameCaches(ScDocument* pDoc);
- const ScDPCache* getCache(const rtl::OUString& rName) const;
+ bool hasCache(const rtl::OUString& rName) const;
const ScDPCache* getCache(const ::rtl::OUString& rName, const ScRange& rRange);
private:
void removeCache(const ::rtl::OUString& rName);