Support named arguments in InterfaceOleWrapper::Invoke()

Desktop / LibreOffice - Tor Lillqvist [collabora.com] - 12 June 2018 05:33 EDT

Convert a DISPPARAMS with named arguments into one with just positional ones. If there are gaps, use markers for them (VARIANTs with VT_ERROR:DISP_E_PARAMNOTFOUND). Those are then passed on as empty UNO Anys.

Change-Id: Iad1197ba2559567a9c0eca4524e76389c2048fec Reviewed-on: https://gerrit.libreoffice.org/55646

f9e9012e75af Support named arguments in InterfaceOleWrapper::Invoke()
extensions/source/ole/unoobjw.cxx | 97 ++++++++++++++++++++++++++++++++++++---
1 file changed, 91 insertions(+), 6 deletions(-)

Upstream: cgit.freedesktop.org


  • Share