diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-05-04 13:24:32 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-05-04 13:24:32 +0200 |
commit | cbc68e27872b9a7948d20820cd9b4484d72cec3d (patch) | |
tree | af1d189a22e77e80a50401f9992ac867352a304c /extensions | |
parent | e8fb6ae467feef14e89913588be1b845c41c3c46 (diff) |
Fix Windows-only code, part 3
Change-Id: I1a87cb1b8c5b5603c4043cd2d5de37a336ad88b6
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/ole/unoconversionutilities.hxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/extensions/source/ole/unoconversionutilities.hxx b/extensions/source/ole/unoconversionutilities.hxx index 15181991b2d0..1bc1fafeb967 100644 --- a/extensions/source/ole/unoconversionutilities.hxx +++ b/extensions/source/ole/unoconversionutilities.hxx @@ -1820,8 +1820,7 @@ Any UnoConversionUtilities<T>::createOleObjectWrapper(VARIANT* pVar, const Type& Any params[3]; params[0] <<= reinterpret_cast<sal_uIntPtr>(spUnknown.p); - sal_Bool bDisp = pVar->vt == VT_DISPATCH ? sal_True : sal_False; - params[1].setValue( & bDisp, cppu::UnoType<bool>::get()); + params[1] <<= (pVar->vt == VT_DISPATCH); params[2] <<= seqTypes; xInit->initialize( Sequence<Any>( params, 3)); |