To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=46273
Issue #:|46273
Summary:|oleautomation: components using properties may not
|work.
Component:|udk
Version:|680m89
Platform:|All
URL:|
OS/Version:|All
Status:|NEW
Status whiteboard:|
Keywords:|
Resolution:|
Issue type:|DEFECT
Priority:|P3
Subcomponent:|code
Assigned to:|jl
Reported by:|jl
------- Additional comments from [EMAIL PROTECTED] Wed Mar 30 01:12:05 -0800
2005 -------
It is possible to use automation server from OOo, for example from Basic. Using
these server may fail if properties are called, which are implemented using IDL
properties. That is , these properties have an VARDESC entry in the TLB.
This should however only effect components prior to msdev 6. Now properties are
always represented by get & set methods which have FUNCDESC entries in the TLB.
To reproduce this, one needs a component that has this idl description
dispinterface _DRSComm
{
properties:
[id(1)] long PropFoo;
methods:
[id(32), propget] boolean Foo();
};
Calling PropFoo from Basic causes internally that the DISPID 32 is used which
belongs to Foo.
This must be fixed in the function IUnknownWrapper_Impl::getPropDesc and
IUnknownWrapper_Impl::buildComTlbIndex(). buildComTlbIndex shall use a second
map that only contains entries gathered from VARDESC descriptions.
The functions are in extensions/source/ole/oleobjw.cxx.
---------------------------------------------------------------------
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]