<div dir="ltr"><div>Sorry. Stupid question.</div><div>Just ignore it.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El dom, 8 ago 2021 a las 16:08, Dante Doménech (<<a href="mailto:dante19031999@gmail.com">dante19031999@gmail.com</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello. I'm trying to pass an argument through any (that's mandatory).</div><div>I was able to set the any value via:</div><div> aArgs[2].setValue(m_pElementTree,Type(TypeClass::TypeClass_UNKNOWN,OUString(u"")));<br></div><div>But now I can't get it back.</div><div>Tried:</div><div> aArgs[2] >> pElementTree;</div><div>pElementTree =  aArgs[2] .get<void*>()</div><div>pElementTree =  aArgs[2] .get<SmMlElement*>()</div>And other's, but it will just give me:<div>error: no matching function for call to ‘cppu_detail_getUnoType(void**)’<br>         return cppu_detail_getUnoType(static_cast< T1 * >(0));</div><div>Can someone tell me how do I get my pointer back, please ?<br></div><div><br></div></div>
</blockquote></div>