Re: Any (class)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sorry. Stupid question.
Just ignore it.

El dom, 8 ago 2021 a las 16:08, Dante Doménech (<dante19031999@xxxxxxxxx>) 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 ?


[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux