Commit 28821a92 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

riched20/tests: Use proper method macros.

parent fcda3c7a
......@@ -76,7 +76,7 @@ START_TEST(richole)
ok(res, "SendMessage\n");
ok(reOle != NULL, "EM_GETOLEINTERFACE\n");
hres = IUnknown_QueryInterface(reOle, &IID_ITextDocument,
hres = IRichEditOle_QueryInterface(reOle, &IID_ITextDocument,
(void **) &txtDoc);
ok(hres == S_OK, "IRichEditOle_QueryInterface\n");
ok(txtDoc != NULL, "IRichEditOle_QueryInterface\n");
......@@ -104,7 +104,7 @@ START_TEST(richole)
IUnknown_Release(punk);
ITextDocument_Release(txtDoc);
IUnknown_Release(reOle);
IRichEditOle_Release(reOle);
DestroyWindow(w);
/* Methods should return CO_E_RELEASED if the backing document has
......
......@@ -657,7 +657,7 @@ static BOOL init_texthost(void)
static void free_texthost(void)
{
IUnknown_Release(txtserv);
ITextServices_Release(txtserv);
CoTaskMemFree(dummyTextHost);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment