http://openoffice.org/bugzilla/show_bug.cgi?id=118124
Issue Type: DEFECT
Summary: css.configuration.ConfigurationUpdateAccess - missing
XPropertyWithState/XMultiPropertyStates
Classification: Code
Product: framework
Version: OOo 3.4 Beta
Platform: PC
OS/Version: Windows, all
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: code
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
brinzing <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Flag| |3.4_release_blocker?
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.ConfigurationUpdateAccess",
mProps())
obj = aConfig.getByHierarchicalName("Windows")
if hasUnoInterfaces(obj, "com.sun.star.beans.XPropertyWithState") then
obj.setToDefaultAsProperty()
else
Msgbox "???"
endif
aConfig.commitChanges()
End Sub
--
Configure bugmail: http://openoffice.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
---------------------------------------------------------------------
Please do not reply to this automatically generated notification
from Bugzilla. Please log into the website and enter your comments.
---------------------------------------------------------------------
--
-----------------------------------------------------------------
To unsubscribe send email to [email protected]
For additional commands send email to [email protected]
with Subject: help
--
-----------------------------------------------------------------
To unsubscribe send email to [email protected]
For additional commands send email to [email protected]
with Subject: help