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/source/ui/view/output2.cxx | |
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/source/ui/view/output2.cxx')
-rw-r--r-- | sc/source/ui/view/output2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/output2.cxx b/sc/source/ui/view/output2.cxx index 07a3a44546fc..c981c631c41a 100644 --- a/sc/source/ui/view/output2.cxx +++ b/sc/source/ui/view/output2.cxx @@ -597,7 +597,7 @@ void ScDrawStringsVars::SetTextToWidthOrHash( ScRefCellValue& rCell, long nWidth if (eType == CELLTYPE_FORMULA) { ScFormulaCell* pFCell = rCell.mpFormula; - if (pFCell->GetErrCode() != 0 || pOutput->mbShowFormulas) + if (pFCell->GetErrCode() != FormulaError::NONE || pOutput->mbShowFormulas) { SetHashText(); // If the error string doesn't fit, always use "###". Also for "display formulas" (#i116691#) return; |