diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2011-01-21 14:45:11 -0500 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2011-01-21 14:45:11 -0500 |
commit | 663aab2ca85ee41f01c80c34207733500fc9b763 (patch) | |
tree | 7fd10265f11b64a938690304f322e3f3242e454b /sc/inc/dpshttab.hxx | |
parent | 3f1097c8bf0848486bbc5acd621b22eb9cd99a3b (diff) |
renamed CheckValidate() to CheckSourceRange(), and cleaned it up.
Diffstat (limited to 'sc/inc/dpshttab.hxx')
-rw-r--r-- | sc/inc/dpshttab.hxx | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/sc/inc/dpshttab.hxx b/sc/inc/dpshttab.hxx index 7a546ec6a288..ea345cd88f48 100644 --- a/sc/inc/dpshttab.hxx +++ b/sc/inc/dpshttab.hxx @@ -65,7 +65,16 @@ struct ScSheetSourceDesc bool operator== ( const ScSheetSourceDesc& rOther ) const; ScDPTableDataCache* CreateCache( ScDocument* pDoc, long nID = -1) const; - ULONG CheckValidate( ScDocument* pDoc ) const; + + /** + * Check the sanity of the data source range. + * + * @param pDoc document instance. + * + * @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; |