Created attachment 88490 [details]
An ODT document, illustrating with screenshots, the situation described.
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.
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: 188.8.131.52 release
Still the case with master sources updated yesterday.
Here's the file (+ line start) which contain the declaration of the parameters:
"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
> "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":
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:
Affected users are encouraged to test the fix and report feedback.