X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=pdf2swf%2Fxpdf%2FLink.cc;fp=pdf2swf%2Fxpdf%2FLink.cc;h=422edc8662da790ea5d9a41cc8f238bd27d974e2;hp=898ca20c355fc5b4bcc9d9ffc9dd97277139f32d;hb=bc31c361b1e2fbac6c96925851775c6bc28a58be;hpb=82262c78bcf8303b301730e6142c23d0681bbcf4 diff --git a/pdf2swf/xpdf/Link.cc b/pdf2swf/xpdf/Link.cc index 898ca20..422edc8 100644 --- a/pdf2swf/xpdf/Link.cc +++ b/pdf2swf/xpdf/Link.cc @@ -430,10 +430,9 @@ LinkGoTo::LinkGoTo(Object *destObj) { delete dest; dest = NULL; } - // error } else { - error(-1, "Illegal annotation destination"); + error(-1, "Illegal annotation destination %d", destObj->getType()); } } @@ -468,10 +467,9 @@ LinkGoToR::LinkGoToR(Object *fileSpecObj, Object *destObj) { delete dest; dest = NULL; } - // error } else { - error(-1, "Illegal annotation destination"); + error(-1, "Illegal annotation destination %d", destObj->getType()); } }