diff options
author | Andreas Bregas <ab@openoffice.org> | 2010-07-27 12:16:05 +0200 |
---|---|---|
committer | Andreas Bregas <ab@openoffice.org> | 2010-07-27 12:16:05 +0200 |
commit | f76803566b9a1476a1e7c8672a54ee1060d123d6 (patch) | |
tree | eb5b2515b5503845669ff5d504ae26ef499f7dc5 /extensions | |
parent | 627f5293a95a31a3b90632c01116eeb8c78829d5 (diff) |
mib17: #i110822# Fixed named parameter handling in automation bridge
Diffstat (limited to 'extensions')
-rwxr-xr-x[-rw-r--r--] | extensions/source/ole/oleobjw.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/extensions/source/ole/oleobjw.cxx b/extensions/source/ole/oleobjw.cxx index 2d83d695be72..89cb5625bca3 100644..100755 --- a/extensions/source/ole/oleobjw.cxx +++ b/extensions/source/ole/oleobjw.cxx @@ -1506,6 +1506,9 @@ Any IUnknownWrapper_Impl::invokeWithDispIdComTlb(const OUString& sFuncName, arDispidNamedArgs.reset(new DISPID[nSizeAr]); HRESULT hr = getTypeInfo()->GetIDsOfNames(arNames, nSizeAr, arDispidNamedArgs.get()); + if ( hr == E_NOTIMPL ) + hr = m_spDispatch->GetIDsOfNames(IID_NULL, arNames, nSizeAr, LOCALE_USER_DEFAULT, arDispidNamedArgs.get() ); + if (hr == S_OK) { // In a "property put" operation, the property value is a named param with the |