formula/inc/core_resource.hrc | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 03ec841be2e25e4497c9ee301427f5573b734c9b
Author: Karthik Godha <[email protected]>
AuthorDate: Mon Feb 9 18:03:40 2026 +0530
Commit: Michael Stahl <[email protected]>
CommitDate: Tue Feb 10 12:24:28 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]>
diff --git a/formula/inc/core_resource.hrc b/formula/inc/core_resource.hrc
index 9deadc5a2d90..cb2359afc069 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 }
};