Created attachment 88490 [details] An ODT document, illustrating with screenshots, the situation described. Problem description: Selecting the MMULT function from the Function Wizard displays the function's construction. The two variables used as separate arguments have the same name. Steps to reproduce: 1. Open an instance of Calc and single click on the MMULT function in the Function Wizard. Current behavior: Expected behavior: This is not a good practice and each variable should have a numeric attached, such that they become array1 and array2. Operating System: Windows XP Version: 4.1.2.3 release
Still the case with master sources updated yesterday. Here's the file (+ line start) which contain the declaration of the parameters: http://opengrok.libreoffice.org/xref/core/sc/source/ui/src/scfuncs.src#4471 "Array 1" and "Array 2" could be ok or should be considered by UI team? Winfried: any idea?
(In reply to comment #1) > Still the case with master sources updated yesterday. > Here's the file (+ line start) which contain the declaration of the > parameters: > http://opengrok.libreoffice.org/xref/core/sc/source/ui/src/scfuncs.src#4471 > > "Array 1" and "Array 2" could be ok or should be considered by UI team? > > Winfried: any idea? I have changed the names to array_1 and array_2 (similar to array_x and array_y in other array functions) and will submit patch after testing.
Winfried Donkers committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=659bc507925aadc189495e59d58cffb882dba381 fdo#71128 arguments of calc function MMULT have same name The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.