Make conversion between CPDF_Action and its dictionary explicit.
[pdfium.git] / core / src / fpdfdoc / doc_link.cpp
index 964b84e..e7b6be5 100644 (file)
@@ -103,5 +103,5 @@ CPDF_Dest CPDF_Link::GetDest(CPDF_Document* pDoc)
 }
 CPDF_Action CPDF_Link::GetAction()
 {
-    return m_pDict->GetDict("A");
+    return CPDF_Action(m_pDict->GetDict("A"));
 }