To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=77102


User sb changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|STARTED                   |RESOLVED
--------------------------------------------------------------------------------
              Resolution|                          |FIXED
--------------------------------------------------------------------------------




------- Additional comments from s...@openoffice.org Mon Jan 10 12:54:59 +0000 
2011 -------
Fixed as <http://hg.services.openoffice.org/cws/sb139/rev/d9dcea76f960>.

For testing, the below Basic code will add and immediately remove again a set
member with a random name in /org.openoffice.Office.Math/SymbolList.  Without
the fix user/registrymodifications.xcu would grow larger and larger with every
execution of the Basic code.

Sub Main
  Dim args(0) As New com.sun.star.beans.NamedValue
  args(0).Name = "nodepath"
  args(0).Value = "/org.openoffice.Office.Math/SymbolList"
  ac = GetDefaultContext.getServiceManager._
    createInstanceWithContext("com.sun.star.configuration.DefaultProvider",
GetDefaultContext)._
   
createInstanceWithArguments("com.sun.star.configuration.ConfigurationUpdateAccess",
args)
  member = ac.createInstance
  member.setPropertyValue("Char", 0)
  member.setPropertyValue("Set", "foo")
  member.setPropertyValue("FontFormatId", "Id1")
  name = "test" & (1000 * Rnd)
  ac.insertByName(name, member)
  ac.commitChanges
  ac.removeByName(name)
  ac.commitChanges
End Sub

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to