https://bugs.freedesktop.org/show_bug.cgi?id=36737
--- Comment #2 from August Sodora <aug...@gmail.com> 2012-01-08 16:29:24 PST --- Reproduced on master with the following code: REM ***** BASIC ***** Option VBASupport 1 Option Explicit Sub Main() MsgBox(func1()) MsgBox func1("Par1_SetValue") End Sub Function func1(Optional MyPar1 As String = "Par1_DefaultValue") as String func1 = MyPar1 End Function ---------- Result: An empty message box pops up followed by a message box that says "Par1_SetValue" Expected Result: A message box that says "Par1_DefaultValue" followed by a message box that says "Par1_SetValue" It looks to me like this is in some vba-specific part of the code because I get syntax errors if I remove the Option VBASupport 1. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs