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:00:50 -0500
commitc99e8165043041d1989c7d9ad47e89b40af00a56 (patch)
treeb66794b61c3bde8fb5d4b868f1a33a38fadc0c7c /sc/inc
parent10a5404fd0fc2da42ba5b293363704af081ae308 (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);