diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-02-21 23:17:24 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-02-21 23:17:24 +0200 |
commit | 8d784611e2e89f03e88bf35b97be87c0132aa5c0 (patch) | |
tree | d8180da6e9503d269329444ca6088402732ddcb8 | |
parent | dfd17e881b1fdfb08021dc7b098e8b54b7b83ba3 (diff) |
FT_GlyphSlot_Embolden() and FT_GlyphSlot_Oblique() return void
Change-Id: I40e0edeeda7158c6209b3eda124587e2da4df8d1
-rw-r--r-- | vcl/generic/glyphs/gcach_ftyp.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/generic/glyphs/gcach_ftyp.cxx b/vcl/generic/glyphs/gcach_ftyp.cxx index 1cb2d87c943f..be2a173bbc38 100644 --- a/vcl/generic/glyphs/gcach_ftyp.cxx +++ b/vcl/generic/glyphs/gcach_ftyp.cxx @@ -512,8 +512,8 @@ FreetypeManager::FreetypeManager() pFTNewSize = (FT_Error(*)(FT_Face,FT_Size*))(sal_IntPtr)dlsym( RTLD_DEFAULT, "FT_New_Size" ); pFTActivateSize = (FT_Error(*)(FT_Size))(sal_IntPtr)dlsym( RTLD_DEFAULT, "FT_Activate_Size" ); pFTDoneSize = (FT_Error(*)(FT_Size))(sal_IntPtr)dlsym( RTLD_DEFAULT, "FT_Done_Size" ); - pFTEmbolden = (FT_Error(*)(FT_GlyphSlot))(sal_IntPtr)dlsym( RTLD_DEFAULT, "FT_GlyphSlot_Embolden" ); - pFTOblique = (FT_Error(*)(FT_GlyphSlot))(sal_IntPtr)dlsym( RTLD_DEFAULT, "FT_GlyphSlot_Oblique" ); + pFTEmbolden = (void(*)(FT_GlyphSlot))(sal_IntPtr)dlsym( RTLD_DEFAULT, "FT_GlyphSlot_Embolden" ); + pFTOblique = (void(*)(FT_GlyphSlot))(sal_IntPtr)dlsym( RTLD_DEFAULT, "FT_GlyphSlot_Oblique" ); bEnableSizeFT = (pFTNewSize!=NULL) && (pFTActivateSize!=NULL) && (pFTDoneSize!=NULL); |