http://openoffice.org/bugzilla/show_bug.cgi?id=117523

        Issue Type: DEFECT
           Summary: extensions: OLE: broken SAFEARRAY VType
    Classification: Code
           Product: framework
           Version: OOo 3.3
          Platform: PC
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: code
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]


After changeset 27974ced5167, a call to createUnoSequenceWrapper() in 
/extensions/source/ole/unoconvertsionsutilities.hxx, line 788, method:
template<class T> void UnoConversionUtilities<T>::anyToVariant(VARIANT*
pVariant, const Any& rAny)
returns invalid data. 

The array element type is not returned properly anymore. The VT_ARRAY |
VT_VARIANT is returned even if the SAFEARRAY contains completely different
type.

This completely breaks OLE compatiblity for methods returning ARRAYs. It can be
reproduced even on getAvailableServiceNames() method of XMultiServiceFactory of
the com::sun::star::ServiceManager object instance.

-- 
Configure bugmail: http://openoffice.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification
from Bugzilla. Please log into the website and enter your comments.
---------------------------------------------------------------------
--
-----------------------------------------------------------------
To unsubscribe send email to [email protected]
For additional commands send email to [email protected]
with Subject: help
--
-----------------------------------------------------------------
To unsubscribe send email to [email protected]
For additional commands send email to [email protected]
with Subject: help

Reply via email to