Overload resolution with the Automation bridge

classic Classic list List threaded Threaded
1 message Options
ZevSpitz ZevSpitz
Reply | Threaded
Open this post in threaded view
|

Overload resolution with the Automation bridge

From  Using UNO from Automation
<https://wiki.openoffice.org/wiki/Documentation/DevGuide/ProUNO/Bridge/Using_UNO_from_Automation>
:

    Different interfaces can have functions with the same name. There is no
way to call a function which belongs to a
    particular interface, because interfaces can not be requested in
Automation. If a UNO object provides two functions
    with the same name, it is undefined which function will be called. A
solution for this issue is planned for the future.

Has a solution indeed been provided for this?

Also, I imagine the Automation bridge could select an overload based on the
types of the passed in arguments, or at least based on the number of
passed-in arguments. Is this the case?



--
Sent from: http://nabble.documentfoundation.org/Dev-f1639786.html
_______________________________________________
LibreOffice mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/libreoffice