Sorry. Stupid question. Just ignore it. El dom, 8 ago 2021 a las 16:08, Dante Doménech (<[email protected]>) 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 ? > >
