[Libreoffice-bugs] [Bug 112418] Calling ImageMagick COM object from macro with more than two parameters results in exception

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Sep 16 01:11:59 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=112418

--- Comment #1 from Aron Budea <baron at caesar.elte.hu> ---
The exception is thrown at the beginning of this function:
template<class T> UnoConversionUtilities<T>::createUnoSequenceWrapper(const
Any& rSeq, VARTYPE elemtype)
https://opengrok.libreoffice.org/xref/core/extensions/source/ole/unoconversionutilities.hxx#1007

There's the following line:
varType = getElementTypeDesc(&aFuncDesc->lprgelemdescParam[i].tdesc);
https://opengrok.libreoffice.org/xref/core/extensions/source/ole/oleobjw.cxx#1805

For the first two parameters 'varType' is 12, but for the 3rd parameter it's
8204, and that's when it enters the sequence-related code path.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170916/ed2c95bb/attachment.html>


More information about the Libreoffice-bugs mailing list