From e847c0de2791e9243a228ab144d9bac8f39a04db Mon Sep 17 00:00:00 2001 From: kramm Date: Mon, 19 Nov 2007 16:31:38 +0000 Subject: [PATCH] moved RENDER_ #defines to CommonOutputDev.h --- lib/pdf/GFXOutputDev.cc | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/lib/pdf/GFXOutputDev.cc b/lib/pdf/GFXOutputDev.cc index da5df32..c9c4c79 100644 --- a/lib/pdf/GFXOutputDev.cc +++ b/lib/pdf/GFXOutputDev.cc @@ -836,7 +836,7 @@ GFXOutputDev::~GFXOutputDev() free(this->pages); this->pages = 0; } - gfxfontlist_free(this->gfxfontlist, 1); + gfxfontlist_free(this->gfxfontlist, 1);this->gfxfontlist = 0; }; GBool GFXOutputDev::upsideDown() { @@ -850,12 +850,6 @@ GBool GFXOutputDev::useDrawChar() const char*renderModeDesc[]= {"fill", "stroke", "fill+stroke", "invisible", "clip+fill", "stroke+clip", "fill+stroke+clip", "clip"}; -#define RENDER_FILL 0 -#define RENDER_STROKE 1 -#define RENDER_FILLSTROKE 2 -#define RENDER_INVISIBLE 3 -#define RENDER_CLIP 4 - static char tmp_printstr[4096]; char* makeStringPrintable(char*str) { -- 1.7.10.4