summaryrefslogtreecommitdiffstats
path: root/include/formula
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2018-06-05 10:49:07 +0200
committerEike Rathke <erack@redhat.com>2018-06-05 12:11:16 +0200
commit5870cf6d9b42094dfda3dbf85817003e021d6559 (patch)
treeafb267e47120d0e316e50d4cd5abcc3579b1bbe5 /include/formula
parentsal: fix logfile path retrieval from logging.ini (diff)
downloadcore-5870cf6d9b42094dfda3dbf85817003e021d6559.tar.gz
core-5870cf6d9b42094dfda3dbf85817003e021d6559.zip
Add "Unsupported inline array content." BadArrayContent message, tdf#117879
Change-Id: I176884ea5161c4f12419431a74bfb2c6fbed4e0f Reviewed-on: https://gerrit.libreoffice.org/55317 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'include/formula')
-rw-r--r--include/formula/errorcodes.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/formula/errorcodes.hxx b/include/formula/errorcodes.hxx
index 41bffa4d9ef9..d4324a998db0 100644
--- a/include/formula/errorcodes.hxx
+++ b/include/formula/errorcodes.hxx
@@ -81,6 +81,8 @@ enum class FormulaError : sal_uInt16
RetryCircular = 537,
// If matrix could not be allocated.
MatrixSize = 538,
+// Bad inline array content, non-value/non-string.
+ BadArrayContent = 539,
// Interpreter: NA() not available condition, not a real error
NotAvailable = 0x7fff
@@ -159,6 +161,7 @@ inline bool isPublishedFormulaError( FormulaError nErr )
case FormulaError::NoMacro:
case FormulaError::DivisionByZero:
case FormulaError::NestedArray:
+ case FormulaError::BadArrayContent:
return true;
case FormulaError::NotNumericString: