diff options
author | Noel Grandin <noel@peralex.com> | 2016-09-14 15:22:20 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2016-09-23 15:22:38 +0000 |
commit | 3e22dfa5eb1ccebdc719a671d23bde7ccab256fb (patch) | |
tree | c3890b2a33cc298ad786c50a9d5879531fc6afc4 /sc/inc/dociter.hxx | |
parent | 7d8196ea2f4ec3634dbad7367345e62c4ea9893d (diff) |
convert formula error codes to scoped enum
Change-Id: I5ff214bf1ec9031e30344bc125bc99916fd11bfb
Reviewed-on: https://gerrit.libreoffice.org/28897
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc/inc/dociter.hxx')
-rw-r--r-- | sc/inc/dociter.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sc/inc/dociter.hxx b/sc/inc/dociter.hxx index 088ca7f37fc3..21f5ffcdac3e 100644 --- a/sc/inc/dociter.hxx +++ b/sc/inc/dociter.hxx @@ -77,7 +77,7 @@ class ScValueIterator // walk through all values in an area * See if the cell at the current position is a non-empty cell. If not, * move to the next non-empty cell position. */ - bool GetThis( double& rValue, sal_uInt16& rErr ); + bool GetThis( double& rValue, FormulaError& rErr ); public: @@ -88,10 +88,10 @@ public: void GetCurNumFmtInfo( short& nType, sal_uLong& nIndex ); /// Does NOT reset rValue if no value found! - bool GetFirst( double& rValue, sal_uInt16& rErr ); + bool GetFirst( double& rValue, FormulaError& rErr ); /// Does NOT reset rValue if no value found! - bool GetNext( double& rValue, sal_uInt16& rErr ); + bool GetNext( double& rValue, FormulaError& rErr ); }; class ScDBQueryDataIterator @@ -99,9 +99,9 @@ class ScDBQueryDataIterator public: struct Value { - OUString maString; + OUString maString; double mfValue; - sal_uInt16 mnError; + FormulaError mnError; bool mbIsNumber; Value(); @@ -466,7 +466,7 @@ public: const ScRange& rRange ); ~ScHorizontalValueIterator(); /// Does NOT reset rValue if no value found! - bool GetNext( double& rValue, sal_uInt16& rErr ); + bool GetNext( double& rValue, FormulaError& rErr ); }; // returns all areas with non-default formatting (horizontal) |