diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-03-25 10:37:25 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-03-26 01:41:18 -0400 |
commit | 04e265e9dbe34d7417a9aefc095510979fcc8658 (patch) | |
tree | e3520151ca6299bd32da60ccf5235ec43426fa88 /sc/source/core/inc | |
parent | 0e9e3be6f51436c1e5bf1481a434a85e334c09ea (diff) |
Add variant of GetCellValue() that takes ScCellIterator instead of ScBaseCell.
And hopefully we can eventually remove the original one that takes ScBaseCell
somehow...
Change-Id: I162c8072aa2c699abfd3eb202b90a6331123eb1b
Diffstat (limited to 'sc/source/core/inc')
-rw-r--r-- | sc/source/core/inc/interpre.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/core/inc/interpre.hxx b/sc/source/core/inc/interpre.hxx index 906f4d692d4c..760a0c7239bb 100644 --- a/sc/source/core/inc/interpre.hxx +++ b/sc/source/core/inc/interpre.hxx @@ -51,6 +51,7 @@ struct ScComplexRefData; class ScToken; class ScJumpMatrix; +class ScCellIterator; #define MAXSTACK (4096 / sizeof(formula::FormulaToken*)) @@ -186,7 +187,9 @@ bool IsTableOpInRange( const ScRange& ); sal_uLong GetCellNumberFormat( const ScAddress&, const ScBaseCell* ); double ConvertStringToValue( const String& ); double GetCellValue( const ScAddress&, const ScBaseCell* ); +double GetCellValue( ScCellIterator& rIter ); double GetCellValueOrZero( const ScAddress&, const ScBaseCell* ); +double GetCellValueOrZero( ScCellIterator& rIter ); double GetValueCellValue( const ScAddress&, const ScValueCell* ); ScBaseCell* GetCell( const ScAddress& rPos ); void GetCellString( String& rStr, const ScBaseCell* pCell ); |