Using Calc Formula Function with Macro

Dear LibreOffice Community,

I wrote a calc macro like: Cell.Formula = “=MIN(B4, B5)”
Im my cell, the formula is correct : “=MIN(B4, B5)”. But the value is Err:508
If I edit the formula, remove a character and put it back. The value is computed correctly.
There is the Bug 59916. It looks like to be my problem.
What should I do to make it working?
Thank you.

LibreOffice Version: 4.3.3.2 Build ID: 430m0(Build:2)
OS: Ubuntu 14.10

Hi - Can I assume from your name that your environment is not English?

Your macro should use the argument separator according to Tools> Options> Calc> Formula> Separators> Function.

For example, in French the semicolon.

thiscomponent.currentselection.formula="=MIN(B4; B5)"