dwrite: Factory_release_cached_fontface() is unused so remove it.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
oldstable
Francois Gouget 2017-09-08 02:18:04 +02:00 committed by Alexandre Julliard
parent e462c9ae11
commit 2f86c81f7f
1 changed files with 0 additions and 6 deletions

View File

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