Commit 4b6a7e78 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

dwrite: Avoid HRESULT codes for BOOL retval methods (PVS-Studio).

parent 175e68fe
......@@ -1250,7 +1250,7 @@ static BOOL WINAPI dwritefont_IsSymbolFont(IDWriteFont2 *iface)
hr = get_fontface_from_font(This, &fontface);
if (FAILED(hr))
return hr;
return FALSE;
return IDWriteFontFace2_IsSymbolFont(fontface);
}
......@@ -1401,7 +1401,7 @@ static BOOL WINAPI dwritefont1_IsMonospacedFont(IDWriteFont2 *iface)
hr = get_fontface_from_font(This, &fontface);
if (FAILED(hr))
return hr;
return FALSE;
return IDWriteFontFace2_IsMonospacedFont(fontface);
}
......
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