formula/inc/core_resource.hrc | 1 +
1 file changed, 1 insertion(+)
New commits:
commit a89dd3ccd7156e3c448ef14f6f35361d378d7031
Author: Karthik Godha <[email protected]>
AuthorDate: Mon Feb 9 18:03:40 2026 +0530
Commit: Christian Lohmaier <[email protected]>
CommitDate: Thu Mar 5 20:51:30 2026 +0100
XLSX: Use "#REF!" for invalid arguments in functions
When importing from an XLS file, invalid function arguments can be
imported as `ocStop` token. During XLSX export this token is not handled.
bug-document: forum-mso-en4-274422.xls
Change-Id: I88e50b3da1bda18da37640594a8c59fd5ee20c30
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198980
Tested-by: Jenkins CollaboraOffice <[email protected]>
Reviewed-by: Michael Stahl <[email protected]>
(cherry picked from commit 03ec841be2e25e4497c9ee301427f5573b734c9b)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/200491
Reviewed-by: Karthik Godha <[email protected]>
Tested-by: Jenkins
(cherry picked from commit aaa451ad6511c2af6fb6241761261c6e9948c9fe)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/200784
Reviewed-by: Christian Lohmaier <[email protected]>
diff --git a/formula/inc/core_resource.hrc b/formula/inc/core_resource.hrc
index 6c8902608cad..9e3ad3d00595 100644
--- a/formula/inc/core_resource.hrc
+++ b/formula/inc/core_resource.hrc
@@ -963,6 +963,7 @@ const std::pair<const char *, int>
RID_STRLIST_FUNCTION_NAMES_ENGLISH_OOXML[] =
{ "_xlfn.ORG.LIBREOFFICE.RAND.NV" , SC_OPCODE_RANDOM_NV },
{ "_xlfn.ORG.LIBREOFFICE.RANDBETWEEN.NV" , SC_OPCODE_RANDBETWEEN_NV },
{ "_xlfn.RANDARRAY" , SC_OPCODE_RANDARRAY },
+ { "#REF!", SC_OPCODE_STOP },
{ nullptr, -1 }
};