dwrite: factory_release_cached_fontface() is unused so remove it.
Francois Gouget
fgouget at free.fr
Thu Sep 7 19:18:04 CDT 2017
---
dlls/dwrite/main.c | 6 ------
1 file changed, 6 deletions(-)
The last use was removed in fb5079d8.
diff --git a/dlls/dwrite/main.c b/dlls/dwrite/main.c
index 555860a28e9..0dce1334353 100644
--- a/dlls/dwrite/main.c
+++ b/dlls/dwrite/main.c
@@ -947,12 +947,6 @@ struct fontfacecached *factory_cache_fontface(IDWriteFactory5 *iface, struct lis
return cached;
}
-void factory_release_cached_fontface(struct fontfacecached *cached)
-{
- list_remove(&cached->entry);
- heap_free(cached);
-}
-
static HRESULT WINAPI dwritefactory_CreateFontFace(IDWriteFactory5 *iface, DWRITE_FONT_FACE_TYPE req_facetype,
UINT32 files_number, IDWriteFontFile* const* font_files, UINT32 index, DWRITE_FONT_SIMULATIONS simulations,
IDWriteFontFace **fontface)
--
2.14.1
More information about the wine-patches
mailing list