https://bugs.documentfoundation.org/show_bug.cgi?id=156580

            Bug ID: 156580
           Summary: CreateUnoService is spelled differently in help
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Documentation
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

There are several different user-visible spelling of CreateUnoService Basic
function in the help. See e.g.
https://git.libreoffice.org/help/+/master/source/text/sbasic/shared/calc_functions.xhp:
*four* uses and different spellings of the string, that are visible to user (in
different form), and *not a single proper spelling*!

line 24: "createUNOservice" in a bookmark (visible in search results);
line 31: "CreateUNOService" in the text;
line 37: "createUnoService" in the code;
line 79: "createUNOService" in the code.

In the "CreateUnoService Function" help page (
https://git.libreoffice.org/help/+/master/source/text/sbasic/shared/03131600.xhp
), most of the uses are correct (CamelCase, with three initials in uppercase),
but line 66 shows "createUnoService" in the code...

Indeed, Basic is case-insensitive. But inconsistency is bad.
The canonical spelling is in the code that maps the names to their
implementation - namely,
https://opengrok.libreoffice.org/xref/core/basic/source/runtime/stdobj.cxx?r=1f5797e0#239

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to