X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=pdf%2Fxpdf%2Fpdf-document.cc;h=41c2eb89c734c867b3d27bfd4eabeac85f299e19;hb=a9bcdd80180c7417fe9e2d9e25dcfc3f8a781c5f;hp=49da9e90b37308c862c040ec31ddff2bee66c3d7;hpb=bab5a16571364233e1ea383119fe0e35bbdf993e;p=evince.git diff --git a/pdf/xpdf/pdf-document.cc b/pdf/xpdf/pdf-document.cc index 49da9e90..41c2eb89 100644 --- a/pdf/xpdf/pdf-document.cc +++ b/pdf/xpdf/pdf-document.cc @@ -813,7 +813,9 @@ build_link_from_action (PdfDocument *pdf_document, { EvLink *link = NULL; - if (link_action->getKind () == actionGoToR) { + if (link_action == NULL) { + link = ev_link_new_title (title); + } else if (link_action->getKind () == actionGoToR) { g_warning ("actionGoToR links not implemented"); } else if (link_action->getKind () == actionLaunch) { g_warning ("actionLaunch links not implemented");