X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fpdf%2FGFXOutputDev.cc;h=da9ec41e0d7b3d90d260d5875d1de679b6b9a781;hb=02bea373211f87d9c3504a497489356bb0ea6ba4;hp=84a4635dc4abe9f38c3762dc8495fbea3602c818;hpb=e0cdf06c7b589679774f0361071468a317ccb8f4;p=swftools.git diff --git a/lib/pdf/GFXOutputDev.cc b/lib/pdf/GFXOutputDev.cc index 84a4635..da9ec41 100644 --- a/lib/pdf/GFXOutputDev.cc +++ b/lib/pdf/GFXOutputDev.cc @@ -1658,12 +1658,6 @@ void GFXOutputDev::startPage(int pageNum, GfxState *state, double crop_x1, doubl states[statepos].dashStart = 0; this->last_char_gfxfont = 0; - - if(this->config_linkdatafile) { - FILE*fi = fopen(config_linkdatafile, "ab+"); - fprintf(fi, "[page %d]\n", pageNum); - fclose(fi); - } } @@ -2696,9 +2690,6 @@ void GFXOutputDev::endTransparencyGroup(GfxState *state) dbg("endTransparencyGroup this->device now back to %08x (destroying %08x)", states[statepos].olddevice, this->device); - while(statepos && !states[statepos].olddevice) - --statepos; - this->device = states[statepos].olddevice; if(!this->device) { msg(" Invalid state nesting");