moved RENDER_ #defines to CommonOutputDev.h
authorkramm <kramm>
Mon, 19 Nov 2007 16:31:38 +0000 (16:31 +0000)
committerkramm <kramm>
Mon, 19 Nov 2007 16:31:38 +0000 (16:31 +0000)
lib/pdf/GFXOutputDev.cc

index da5df32..c9c4c79 100644 (file)
@@ -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)
 {