3.4_release_blocker requested: [Bug 118124] css.configuration.ConfigurationUpdateAccess - missing XPropertyWithState/XMultiPropertyStates
[email protected] Wed, 1 Jun 2011 17:49:19 +0000
| Newsgroups | gmane.comp.openoffice.releases |
|---|---|
| Message-ID | <[email protected]> |
brinzing <[email protected]> has asked for 3.4_release_blocker: Bug 118124: css.configuration.ConfigurationUpdateAccess - missing XPropertyWithState/XMultiPropertyStates http://openoffice.org/bugzilla/show_bug.cgi?id=118124 ------- Additional Comments from brinzing <[email protected]> the following code worked in oo 3.2 but will fail in oo3.4beta. seems com::sun::star::beans::XPropertyWithState and com::sun::star::beans::XMultiPropertyStates are missing ? Sub TestConfigUpdateAccess() Dim aConfigProvider as Object Dim aConfig as Object Dim obj as Object Dim mProps(1) as new com.sun.star.beans.PropertyValue aConfigProvider = createUnoService("com.sun.star.configuration.ConfigurationProvider") mProps(0).Name = "nodepath" mProps(0).Value = "org.openoffice.Office.Views" aConfig = aConfigProvider.createInstanceWithArguments("com.sun.star.configuration.Configu rationUpdateAccess", mProps()) obj = aConfig.getByHierarchicalName("Windows") if hasUnoInterfaces(obj, "com.sun.star.beans.XPropertyWithState") then obj.setToDefaultAsProperty() else Msgbox "???" endif aConfig.commitChanges() End Sub -- ----------------------------------------------------------------- To unsubscribe send email to [email protected] For additional commands send email to [email protected] with Subject: help