Nikolay Sivov : msado15: Fix copy-paste typos in IDispatch methods.

Alexandre Julliard julliard at winehq.org
Mon Mar 1 15:54:04 CST 2021


Module: wine
Branch: master
Commit: 971be2888be7d1ffff91706aea89772d3968c5c3
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=971be2888be7d1ffff91706aea89772d3968c5c3

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Sat Feb 27 15:45:44 2021 +0300

msado15: Fix copy-paste typos in IDispatch methods.

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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,




More information about the wine-cvs mailing list