Signed-off-by: Nikolay Sivov <nsivov(a)codeweavers.com>
---
dlls/msado15/command.c | 2 +-
dlls/msado15/stream.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/msado15/command.c b/dlls/msado15/command.c
index aff12f6a108..8c8ec79a58e 100644
--- a/dlls/msado15/command.c
+++ b/dlls/msado15/command.c
@@ -133,7 +133,7 @@ static HRESULT WINAPI command_Invoke( _Command *iface, DISPID member,
REFIID rii
TRACE( "%p, %d, %s, %d, %d, %p, %p, %p, %p\n", command, member,
debugstr_guid(riid), lcid, flags, params,
result, excep_info, arg_err );
- hr = get_typeinfo(Connection_tid, &typeinfo);
+ hr = get_typeinfo(Command_tid, &typeinfo);
if(SUCCEEDED(hr))
{
hr = ITypeInfo_Invoke(typeinfo, &command->Command_iface, member, flags,
params,
diff --git a/dlls/msado15/stream.c b/dlls/msado15/stream.c
index 961aed6a739..424ba722a26 100644
--- a/dlls/msado15/stream.c
+++ b/dlls/msado15/stream.c
@@ -113,7 +113,7 @@ static HRESULT WINAPI stream_GetIDsOfNames( _Stream *iface, REFIID
riid, LPOLEST
TRACE( "%p, %s, %p, %u, %u, %p\n", stream, debugstr_guid(riid), names,
count, lcid, dispid );
- hr = get_typeinfo(Connection_tid, &typeinfo);
+ hr = get_typeinfo(Stream_tid, &typeinfo);
if(SUCCEEDED(hr))
{
hr = ITypeInfo_GetIDsOfNames(typeinfo, names, count, dispid);
@@ -133,7 +133,7 @@ static HRESULT WINAPI stream_Invoke( _Stream *iface, DISPID member,
REFIID riid,
TRACE( "%p, %d, %s, %d, %d, %p, %p, %p, %p\n", stream, member,
debugstr_guid(riid), lcid, flags, params,
result, excep_info, arg_err );
- hr = get_typeinfo(Connection_tid, &typeinfo);
+ hr = get_typeinfo(Stream_tid, &typeinfo);
if(SUCCEEDED(hr))
{
hr = ITypeInfo_Invoke(typeinfo, &stream->Stream_iface, member, flags,
params,
--
2.30.1