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

--- Comment #3 from Mike Kaganski <[email protected]> ---
(In reply to Andreas Heinisch from comment #2)

At
https://opengrok.libreoffice.org/xref/core/basic/source/classes/sbunoobj.cxx?r=a2eaf99e#1010,
the Type for 'p' is obtained, which is typelib_TypeClass_SEQUENCE with type
name '[]string'. Then in sbxToUnoValue (
https://opengrok.libreoffice.org/xref/core/basic/source/classes/sbunoobj.cxx?r=a2eaf99e#1310
), aElemType is retrieved from the '[]string' string (using
typelib_typedescription_getByName). Then the obtained typelib_TypeClass_STRING
is used to retrieve SbxVariableRef for each element of the sequence (array),
using sbxToUnoValue for the elements - and that naturally fails for the
elements that are *not* strings.

So the question is - why p is still '[]string' after split, i.e. what is
different compared to the other (commented out) way of array creation (we
should improve the fix for tdf#144924 in that regard). I assume that at some
point, it should change the eType in SbxArray stored in the SbxValue.aData.pObj
of the 'p'.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to