diff options
Diffstat (limited to 'extensions/source/ole/oleobjw.cxx')
-rw-r--r-- | extensions/source/ole/oleobjw.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/ole/oleobjw.cxx b/extensions/source/ole/oleobjw.cxx index ee81b48c8a1a..57e1395d14cc 100644 --- a/extensions/source/ole/oleobjw.cxx +++ b/extensions/source/ole/oleobjw.cxx @@ -138,7 +138,7 @@ Any IUnknownWrapper_Impl::queryInterface(const Type& t) return Any(); if ( ( t == cppu::UnoType<XInvocation>::get() || t == cppu::UnoType<XAutomationInvocation>::get() ) && !m_spDispatch) return Any(); - // XDirectInvocation seems to be an oracle replacement for XAutomationInvocation, however it is flawed esecially wrt. assumptions about whether to invoke a + // XDirectInvocation seems to be an oracle replacement for XAutomationInvocation, however it is flawed especially wrt. assumptions about whether to invoke a // Put or Get property, the implementation code has no business guessing that, it's up to the caller to decide that. Worse XDirectInvocation duplicates lots of code. // XAutomationInvocation provides separate calls for put& get // properties. Note: Currently the basic runtime doesn't call put properties directly, it should... after all the basic runtime should know whether it is calling a put or get property. @@ -1962,7 +1962,7 @@ Any IUnknownWrapper_Impl::invokeWithDispIdComTlb(FuncDesc& aFuncDesc, //Basic: obj.func() ' first parameter left out because it is optional else if (paramFlags & PARAMFLAG_FHASDEFAULT) { - //optional arg with defaulteithter as direct arg : VT_XXX or + //optional arg with default either as direct arg : VT_XXX or VariantCopy( & arArgs[revIndex], & aFuncDesc->lprgelemdescParam[i].paramdesc. pparamdescex->varDefaultValue); |