Commit d2c4219c authored by Austin English's avatar Austin English Committed by Alexandre Julliard

oleaut32/tests: Make sure return values are used (LLVM/Clang).

parent 2164bb7a
......@@ -112,6 +112,7 @@ static void test_ifont_sizes(LONG lo_size, LONG hi_size,
ok(hres == S_OK, "%s: IFont_get_hFont returns 0x%08x instead of S_OK.\n",
test_name, hres);
hres = GetObject (hfont, sizeof(LOGFONT), &lf);
ok(hres == OBJ_FONT, "got obj type %d\n", hres);
ok(lf.lfHeight == hfont_height,
"%s: hFont has lf.lfHeight=%d, expected %d.\n",
test_name, lf.lfHeight, hfont_height);
......@@ -315,6 +316,7 @@ static void test_font_events_disp(void)
dispparams.cArgs = 1;
dispparams.rgvarg = &vararg;
hr = IFontDisp_Invoke(pFontDisp, DISPID_FONT_BOLD, &IID_NULL, 0, DISPATCH_PROPERTYPUT, &dispparams, NULL, NULL, NULL);
ok(hr == S_OK, "IFontDisp_Invoke return 0x%08x instead of S_OK.\n", hr);
IFontDisp_Release(pFontDisp);
......
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