Fix compile with older poppler

remotes/origin/Applications/19.04
Albert Astals Cid 7 years ago
parent ea2a7b264f
commit 3c5b9b6f81
  1. 4
      generators/poppler/generator_pdf.cpp

@ -524,13 +524,13 @@ Okular::Action* createLinkFromPopplerLink(const Poppler::Link *popplerLink, bool
break;
#endif
case Poppler::Link::OCGState:
#ifdef HAVE_POPPLER_0_50
case Poppler::Link::OCGState:
link = new Okular::BackendOpaqueAction();
link->setNativeId( QVariant::fromValue( static_cast<const Poppler::LinkOCGState*>( popplerLink ) ) );
deletePopplerLink = false;
#endif
break;
#endif
}
#ifdef HAVE_POPPLER_0_64

Loading…
Cancel
Save