diff options
Diffstat (limited to 'core/fpdfdoc/cpdf_aaction.cpp')
-rw-r--r-- | core/fpdfdoc/cpdf_aaction.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/fpdfdoc/cpdf_aaction.cpp b/core/fpdfdoc/cpdf_aaction.cpp index 8d954697b4..109e82b406 100644 --- a/core/fpdfdoc/cpdf_aaction.cpp +++ b/core/fpdfdoc/cpdf_aaction.cpp @@ -6,6 +6,8 @@ #include "core/fpdfdoc/cpdf_aaction.h" +#include "core/fpdfapi/parser/cpdf_dictionary.h" + namespace { constexpr const char* g_sAATypes[] = { @@ -43,7 +45,7 @@ CPDF_AAction::CPDF_AAction(const CPDF_Dictionary* pDict) : m_pDict(pDict) {} CPDF_AAction::CPDF_AAction(const CPDF_AAction& that) = default; -CPDF_AAction::~CPDF_AAction() {} +CPDF_AAction::~CPDF_AAction() = default; bool CPDF_AAction::ActionExist(AActionType eType) const { return m_pDict && m_pDict->KeyExist(g_sAATypes[eType]); |