summaryrefslogtreecommitdiffstats
path: root/sc/inc/dpshttab.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2011-01-21 16:56:06 -0500
committerKohei Yoshida <kyoshida@novell.com>2011-01-21 16:56:06 -0500
commit5bdc813406c5839b1b7ac53dc37b234e15052572 (patch)
treeb1adb6729fa0b060b59be84308c863adf05d2192 /sc/inc/dpshttab.hxx
parentLet's store ScDocument* in ScSheetSourceDesc. (diff)
downloadcore-5bdc813406c5839b1b7ac53dc37b234e15052572.tar.gz
core-5bdc813406c5839b1b7ac53dc37b234e15052572.zip
Several of its methods now don't need to take ScDocument* as an arg.
Diffstat (limited to 'sc/inc/dpshttab.hxx')
-rw-r--r--sc/inc/dpshttab.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/inc/dpshttab.hxx b/sc/inc/dpshttab.hxx
index 737c0bfe4626..f8bbc40b1dc7 100644
--- a/sc/inc/dpshttab.hxx
+++ b/sc/inc/dpshttab.hxx
@@ -65,7 +65,7 @@ public:
const ScQueryParam& GetQueryParam() const;
bool operator== ( const ScSheetSourceDesc& rOther ) const;
- ScDPTableDataCache* CreateCache( ScDocument* pDoc, long nID = -1) const;
+ ScDPTableDataCache* CreateCache(long nID = -1) const;
/**
* Check the sanity of the data source range.
@@ -75,10 +75,10 @@ public:
* @return 0 if the source range is sane, otherwise an error message ID is
* returned.
*/
- ULONG CheckSourceRange( ScDocument* pDoc ) const;
- ScDPTableDataCache* GetCache( ScDocument* pDoc, long nID ) const;
- ScDPTableDataCache* GetExistDPObjectCache ( ScDocument* pDoc ) const;
- long GetCacheId( ScDocument* pDoc, long nID ) const;
+ ULONG CheckSourceRange() const;
+ ScDPTableDataCache* GetCache(long nID) const;
+ ScDPTableDataCache* GetExistDPObjectCache () const;
+ long GetCacheId(long nID) const;
private:
ScRange maSourceRange;