https://bugs.documentfoundation.org/show_bug.cgi?id=112466
Frederic Bron <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |UNCONFIRMED
Ever confirmed|1 |0
--- Comment #3 from Frederic Bron <[email protected]> ---
OK, I have found something to reproduce the bug. Apparently it is not related
to the encrypted macros:
Tools/Macros/Manage macros/Libreoffice Basic.../Manage.../Libraries/New...
Type Library1 as name
Then click on Edit
and replace
"Sub Main
End Sub"
By
Option Explicit
Option Base 0
Private Function foo(dates() as Double, amounts() as Double, dateN as Double,
day_q as Double) as Double
foo=0#
Dim k as Long
For k=0 To UBound(dates())
If amounts(k)<>0. Then
foo=foo+amounts(k)*day_q^(dateN-dates(k))
End If
Next
End Function
If you have time, you can click Save. Otherwise, it will be the same: this
makes libreoffice use 100% of CPU forever.
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs