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

Stephan Bergmann sbergman at redhat.com
Mon Sep 7 06:38:15 PDT 2015


 vcl/generic/glyphs/gcach_ftyp.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b08e6375f287037f8cc996a428a7b6bc55b08594
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Sep 7 15:36:58 2015 +0200

    clang-analyzer-deadcode.DeadStores
    
    ...ever since its inception with d9bf8cb9c3f087115f72ba371e1291fd0eba3818 "add
    serverside font feature"
    
    Change-Id: I430b457dbf278be3299883ba0fac09a6b68c5d67

diff --git a/vcl/generic/glyphs/gcach_ftyp.cxx b/vcl/generic/glyphs/gcach_ftyp.cxx
index c35ff95..54a7aa6 100644
--- a/vcl/generic/glyphs/gcach_ftyp.cxx
+++ b/vcl/generic/glyphs/gcach_ftyp.cxx
@@ -960,7 +960,7 @@ void ServerFont::InitGlyphData( sal_GlyphId aGlyphId, GlyphData& rGD ) const
     rGD.SetCharWidth( nCharWidth );
 
     FT_Glyph pGlyphFT;
-    rc = FT_Get_Glyph( maFaceFT->glyph, &pGlyphFT );
+    FT_Get_Glyph( maFaceFT->glyph, &pGlyphFT );
 
     ApplyGlyphTransform( nGlyphFlags, pGlyphFT, false );
     rGD.SetDelta( (pGlyphFT->advance.x + 0x8000) >> 16, -((pGlyphFT->advance.y + 0x8000) >> 16) );


More information about the Libreoffice-commits mailing list