diff options
author | Eike Rathke <erack@redhat.com> | 2016-06-27 16:37:56 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2016-06-27 17:24:20 +0200 |
commit | 2795cb694b6563772e1326b74cfd678ed251681f (patch) | |
tree | 266707032ea2ec9cc516430a0a5e40885f35bf2a /formula | |
parent | 4e3bcddeb561309f94973115e05d5ac63b178e0d (diff) |
add an isPODF() block to ScCompiler::IsOpCode(), tdf#100641 related
... as we can't rename RID_STRLIST_FUNCTION_NAMES_ENGLISH names.
Should we need yet another resource block to differentiate between
PODF/API names and actual always available English names? Ugly but
maybe. A much better approach would be if Text[en-US] would be always
available, additionally to the current localized resource.
Change-Id: If8eaf18643f4e24c811149c52efff1097a3c1596
Diffstat (limited to 'formula')
-rw-r--r-- | formula/source/core/resource/core_resource.src | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/formula/source/core/resource/core_resource.src b/formula/source/core/resource/core_resource.src index 2124218ae5f7..6a2d7d2eb82a 100644 --- a/formula/source/core/resource/core_resource.src +++ b/formula/source/core/resource/core_resource.src @@ -896,6 +896,9 @@ Resource RID_STRLIST_FUNCTION_NAMES_ENGLISH_OOXML // DO NOT CHANGE NAMES! Only add functions. // These English names are used internally to store/load ODF v1.0/v1.1 and for // API XFunctionAccess. +// If there is a reason for another name for some function then add an +// *additional* name to be recognized to sc/source/core/tool/compiler.cxx +// ScCompiler::IsOpCode() in the else if (mxSymbols->isPODF()) block. Resource RID_STRLIST_FUNCTION_NAMES_ENGLISH { String SC_OPCODE_IF { Text = "IF" ; }; |