riched20/tests: Use proper method macros.

oldstable
Nikolay Sivov 2012-08-24 13:03:56 +04:00 committed by Alexandre Julliard
parent fcda3c7ad8
commit 28821a924c
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -657,7 +657,7 @@ static BOOL init_texthost(void)
static void free_texthost(void)
{
IUnknown_Release(txtserv);
ITextServices_Release(txtserv);
CoTaskMemFree(dummyTextHost);
}