[Libreoffice-commits] core.git: vcl/generic

Tor Lillqvist tml at iki.fi
Thu Feb 21 13:20:44 PST 2013


 vcl/generic/glyphs/gcach_ftyp.cxx |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit dbcd4e5fac5e48753d6cfa5c80ff3d4ce12a1894
Author: Tor Lillqvist <tml at iki.fi>
Date:   Thu Feb 21 23:20:21 2013 +0200

    pFTOblique is unused
    
    Change-Id: I20c70299e6e91883dd5ee45b09268f543fd5e1c8

diff --git a/vcl/generic/glyphs/gcach_ftyp.cxx b/vcl/generic/glyphs/gcach_ftyp.cxx
index be2a173..df24b76 100644
--- a/vcl/generic/glyphs/gcach_ftyp.cxx
+++ b/vcl/generic/glyphs/gcach_ftyp.cxx
@@ -132,7 +132,6 @@ static FT_Error (*pFTNewSize)(FT_Face,FT_Size*);
 static FT_Error (*pFTActivateSize)(FT_Size);
 static FT_Error (*pFTDoneSize)(FT_Size);
 void (*pFTEmbolden)(FT_GlyphSlot);
-void (*pFTOblique)(FT_GlyphSlot);
 static bool bEnableSizeFT = false;
 
 struct EqStr{ bool operator()(const char* a, const char* b) const { return !strcmp(a,b); } };
@@ -496,7 +495,6 @@ FreetypeManager::FreetypeManager()
     pFTActivateSize = FT_Activate_Size;
     pFTDoneSize = FT_Done_Size;
     pFTEmbolden = FT_GlyphSlot_Embolden;
-    pFTOblique = FT_GlyphSlot_Oblique;
     nFTVERSION = FTVERSION;
 #else
 #ifdef RTLD_DEFAULT // true if a good dlfcn.h header was included
@@ -513,7 +511,6 @@ FreetypeManager::FreetypeManager()
     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     = (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);
 


More information about the Libreoffice-commits mailing list