https://bugs.freedesktop.org/show_bug.cgi?id=46071

--- Comment #3 from Andy <silva...@katamail.com> 2012-02-16 01:50:39 PST ---
I was fortunate enough to find a kind folk who submitted the following macro 
which worked perfeclty, making math formula editor work again without losing all
customization of LO.
Of course, I am left wondering what on earth could induce this in the upgrade 
from 3.4.5.to 3.5.... and whether there are other people out there who
experienced the same... of course many people has never touched the formula 
editor, so they might not even know.

If anyone has the same problem, start your office, execute the following macro 
to remove the configuration and then restart your office.
This macro removes window position of math equation editor on Writer document 
to make its position default.

Code: Select all   Expand view
    Sub RemoveMathEquationWindowSettings
      p = CreateUnoStruct("com.sun.star.beans.PropertyValue")
      p.Name = "nodepath"
      p.Value = "/org.openoffice.Office.Views/Windows"
      cp = CreateUnoService("com.sun.star.configuration.ConfigurationProvider")
      ca = cp.createInstanceWithArguments(_
        "com.sun.star.configuration.ConfigurationUpdateAccess", Array(p))
      name = "30378"
      If ca.hasByName(name) Then
        ca.removeByName(name)
        ca.commitChanges()
      End If
    End Sub

-- 
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

Reply via email to