https://bugs.freedesktop.org/show_bug.cgi?id=67421
pierre-yves samyn <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |[email protected] | |et Ever confirmed|0 |1 --- Comment #4 from pierre-yves samyn <[email protected]> --- Hello I reproduce on windows 7/64 with Version: 4.2.0.2 Build ID: cd65d6220c5694ee7012d7863bcde3455c9e3c30 The problem is not caused by the formula. This can be checked by moving the paragraph up (Ctrl + Alt + Up). The problem seems related to the number of update: it always occurs after 21 occurrences of: oMathObject.ExtendedControlOverEmbeddedObject.Update() Another workaround: sub tst() embeddedObjects = ThisComponent.getEmbeddedObjects() k = 0 for each oMathObject in embeddedObjects oModel = oMathObject.Model if ((not isNull(oModel)) and (not isEmpty(oModel))) then oModel.Formula=Format(k) ' oMathObject.ExtendedControlOverEmbeddedObject.Update() end if k=k+1 next document = ThisComponent.CurrentController.Frame dispatcher = createUnoService("com.sun.star.frame.DispatchHelper") dispatcher.executeDispatch(document, ".uno:UpdateAll", "", 0, Array()) end sub Regards Pierre-Yves -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
