Fix Windows-only code, part 3
Change-Id: I1a87cb1b8c5b5603c4043cd2d5de37a336ad88b6
This commit is contained in:
@@ -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));
|
||||||
|
Reference in New Issue
Block a user