mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 04:18:31 +02:00
* TAutoObject.GetTypeInfo function should return DispTypeInfo instead of ClassInfo. Fix by Korba812. Fixes Eventsinks for openoffice.
https://forum.lazarus.freepascal.org/index.php/topic,68806.0/topicseen.html
This commit is contained in:
parent
90c03c7e70
commit
ac510d391f
@ -1862,7 +1862,7 @@ HKCR
|
||||
Result := DISP_E_BADINDEX
|
||||
else
|
||||
begin
|
||||
ITypeInfo(TypeInfo) := TAutoObjectFactory(Factory).ClassInfo;
|
||||
ITypeInfo(TypeInfo) := TAutoObjectFactory(Factory).DispTypeInfo;
|
||||
Result := S_OK;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user