summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHib Eris <hib@hiberis.nl>2012-01-31 12:49:01 +0100
committerCarlos Garcia Campos <carlosgc@gnome.org>2012-02-04 12:31:08 +0100
commit01a53a1dcaeaf81fbe5f1630cfe86f0d0b55b24b (patch)
treec33863f9804aa14a5431c0c1fc02dac4a6ee5258
parent7bb42f045abaef2f10fe83b8c04a55ec0a34d55d (diff)
cairo: Remove unused variable in CairoFontEngine.cc
Fixes bug #45442.
-rw-r--r--poppler/CairoFontEngine.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/poppler/CairoFontEngine.cc b/poppler/CairoFontEngine.cc
index 95ac60d1..451eaef0 100644
--- a/poppler/CairoFontEngine.cc
+++ b/poppler/CairoFontEngine.cc
@@ -106,7 +106,7 @@ CairoFont::getGlyph(CharCode code,
double
CairoFont::getSubstitutionCorrection(GfxFont *gfxFont)
{
- double w1, w2,w3;
+ double w1, w2;
CharCode code;
char *name;
@@ -134,7 +134,6 @@ CairoFont::getSubstitutionCorrection(GfxFont *gfxFont)
cairo_scaled_font_destroy(scaled_font);
cairo_font_options_destroy(options);
- w3 = extents.width;
w2 = extents.x_advance;
}
if (!gfxFont->isSymbolic()) {