Fix Windows-only code, part 3

Change-Id: I1a87cb1b8c5b5603c4043cd2d5de37a336ad88b6
This commit is contained in:
Stephan Bergmann
2016-05-04 13:24:32 +02:00
parent e8fb6ae467
commit cbc68e2787

View File

@@ -1820,8 +1820,7 @@ Any UnoConversionUtilities<T>::createOleObjectWrapper(VARIANT* pVar, const Type&
Any params[3]; Any params[3];
params[0] <<= reinterpret_cast<sal_uIntPtr>(spUnknown.p); params[0] <<= reinterpret_cast<sal_uIntPtr>(spUnknown.p);
sal_Bool bDisp = pVar->vt == VT_DISPATCH ? sal_True : sal_False; params[1] <<= (pVar->vt == VT_DISPATCH);
params[1].setValue( & bDisp, cppu::UnoType<bool>::get());
params[2] <<= seqTypes; params[2] <<= seqTypes;
xInit->initialize( Sequence<Any>( params, 3)); xInit->initialize( Sequence<Any>( params, 3));