From: kramm Date: Mon, 19 Nov 2007 16:31:38 +0000 (+0000) Subject: moved RENDER_ #defines to CommonOutputDev.h X-Git-Tag: buttons-working~488 X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=e847c0de2791e9243a228ab144d9bac8f39a04db;p=swftools.git moved RENDER_ #defines to CommonOutputDev.h --- 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) {