diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-03-25 10:59:15 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-03-26 01:41:18 -0400 |
commit | 0075402e354dead483ca242962314aae5782134c (patch) | |
tree | b04738ee13f43a2fe5dfd2ea9c13360ad1dbdad9 /sc/inc | |
parent | 04e265e9dbe34d7417a9aefc095510979fcc8658 (diff) |
Another one involving cell data validation in detective functionality.
Change-Id: I1987f45e436744d4029f8b7af812867ebcfb09c4
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/dociter.hxx | 3 | ||||
-rw-r--r-- | sc/inc/validat.hxx | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/sc/inc/dociter.hxx b/sc/inc/dociter.hxx index 6f17e2db0fce..a0ffa5c99a44 100644 --- a/sc/inc/dociter.hxx +++ b/sc/inc/dociter.hxx @@ -256,6 +256,9 @@ public: bool first(); bool next(); + + // TODO: Remove this later. + ScBaseCell* getHackedBaseCell(); }; class ScQueryCellIterator // walk through all non-empty cells in an area diff --git a/sc/inc/validat.hxx b/sc/inc/validat.hxx index 90d8ce76e249..8c73b7d095e1 100644 --- a/sc/inc/validat.hxx +++ b/sc/inc/validat.hxx @@ -29,6 +29,7 @@ namespace ValidListType = ::com::sun::star::sheet::TableValidationVisibility; class ScPatternAttr; class ScTokenArray; class ScTypedStrData; +class ScCellIterator; enum ScValidationMode { @@ -129,6 +130,8 @@ public: const ScAddress& rPos ) const; sal_Bool IsDataValid( ScBaseCell* pCell, const ScAddress& rPos ) const; + bool IsDataValid( ScCellIterator& rIter ) const; + // TRUE -> break sal_Bool DoError( Window* pParent, const String& rInput, const ScAddress& rPos ) const; void DoCalcError( ScFormulaCell* pCell ) const; |