Any (class)

Dante Doménech dante19031999 at gmail.com
Mon Aug 9 01:22:33 UTC 2021


Sorry. Stupid question.
Just ignore it.

El dom, 8 ago 2021 a las 16:08, Dante Doménech (<dante19031999 at gmail.com>)
escribió:

> Hello. I'm trying to pass an argument through any (that's mandatory).
> I was able to set the any value via:
>
>  aArgs[2].setValue(m_pElementTree,Type(TypeClass::TypeClass_UNKNOWN,OUString(u"")));
> But now I can't get it back.
> Tried:
> aArgs[2] >> pElementTree;
> pElementTree = aArgs[2] .get<void*>()
> pElementTree = aArgs[2] .get<SmMlElement*>()
> And other's, but it will just give me:
> error: no matching function for call to ‘cppu_detail_getUnoType(void**)’
>          return cppu_detail_getUnoType(static_cast< T1 * >(0));
> Can someone tell me how do I get my pointer back, please ?
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20210809/8cdfd5ce/attachment.htm>


More information about the LibreOffice mailing list