summaryrefslogtreecommitdiffstats
path: root/sc/inc/dpshttab.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2011-01-21 14:45:11 -0500
committerKohei Yoshida <kyoshida@novell.com>2011-01-21 14:45:11 -0500
commit663aab2ca85ee41f01c80c34207733500fc9b763 (patch)
tree7fd10265f11b64a938690304f322e3f3242e454b /sc/inc/dpshttab.hxx
parentFixed the failure to update table when hitting OK in the dialog. (diff)
downloadcore-663aab2ca85ee41f01c80c34207733500fc9b763.tar.gz
core-663aab2ca85ee41f01c80c34207733500fc9b763.zip
renamed CheckValidate() to CheckSourceRange(), and cleaned it up.
Diffstat (limited to 'sc/inc/dpshttab.hxx')
-rw-r--r--sc/inc/dpshttab.hxx11
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;