Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 251e3525 authored by Shubham  .'s avatar Shubham .

Handle OCGState and fix warning

parent 2d568acd
......@@ -379,7 +379,7 @@ Okular::Action* createLinkFromPopplerLink(const Poppler::Link *popplerLink, bool
{
case Poppler::Link::None:
break;
case Poppler::Link::Goto:
{
popplerLinkGoto = static_cast<const Poppler::LinkGoto *>(popplerLink);
......@@ -523,6 +523,9 @@ Okular::Action* createLinkFromPopplerLink(const Poppler::Link *popplerLink, bool
}
break;
#endif
case Poppler::Link::OCGState:
Q_UNREACHABLE();
}
#ifdef HAVE_POPPLER_0_64
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment