summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2011-03-23 16:38:27 -0400
committerKohei Yoshida <kyoshida@novell.com>2011-03-23 17:18:01 -0400
commit2fb2ca5de1f7cf21533582d83154858e8a7beee4 (patch)
treeca466cf0a0d233cdf79e4d8373110e2494715f51 /sc/inc
parent35966b3f5240e17dccfad1fa9001e54d7a4b861e (diff)
Create data cache outside of the ScSheetDPData.
This will create a hook where we can detect error conditions before going too deep.
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/dpshttab.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/inc/dpshttab.hxx b/sc/inc/dpshttab.hxx
index ca025e95e1a7..2968918d313f 100644
--- a/sc/inc/dpshttab.hxx
+++ b/sc/inc/dpshttab.hxx
@@ -78,7 +78,7 @@ public:
const ScQueryParam& GetQueryParam() const;
bool operator== ( const ScSheetSourceDesc& rOther ) const;
- ScDPCache* CreateCache() const;
+ SC_DLLPUBLIC ScDPCache* CreateCache() const;
/**
* Check the sanity of the data source range.
@@ -113,7 +113,7 @@ private:
ScDPCacheTable aCacheTable;
public:
- ScSheetDPData(ScDocument* pD, const ScSheetSourceDesc& rDesc);
+ ScSheetDPData(ScDocument* pD, const ScSheetSourceDesc& rDesc, ScDPCache* pCache);
virtual ~ScSheetDPData();
virtual long GetColumnCount();