Commit badccd8c authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

dwrite/tests: Remove unnecessary font face creation.

parent 1c7a1f8f
......@@ -6303,7 +6303,6 @@ static void test_GetFontSignature(void)
for (i = 0; i < count; i++) {
FONTSIGNATURE expected_signature;
IDWriteLocalizedStrings *names;
IDWriteFontFace *fontface;
IDWriteFontFamily *family;
IDWriteFont *font;
WCHAR nameW[256];
......@@ -6315,9 +6314,6 @@ static void test_GetFontSignature(void)
DWRITE_FONT_STYLE_NORMAL, &font);
ok(hr == S_OK, "got 0x%08x\n", hr);
hr = IDWriteFont_CreateFontFace(font, &fontface);
ok(hr == S_OK, "got 0x%08x\n", hr);
hr = IDWriteFontFamily_GetFamilyNames(family, &names);
ok(hr == S_OK, "got 0x%08x\n", hr);
......@@ -6345,7 +6341,6 @@ static void test_GetFontSignature(void)
fontsig.fsCsb[1], expected_signature.fsCsb[1]);
IDWriteFont_Release(font);
IDWriteFontFace_Release(fontface);
IDWriteFontFamily_Release(family);
}
......
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