diff options
Diffstat (limited to 'core/fpdfdoc/cpdf_structelement.cpp')
-rw-r--r-- | core/fpdfdoc/cpdf_structelement.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/fpdfdoc/cpdf_structelement.cpp b/core/fpdfdoc/cpdf_structelement.cpp index 137d5b32e4..c85ae0dd42 100644 --- a/core/fpdfdoc/cpdf_structelement.cpp +++ b/core/fpdfdoc/cpdf_structelement.cpp @@ -33,7 +33,8 @@ CPDF_StructElement::CPDF_StructElement(CPDF_StructTree* pTree, : m_pTree(pTree), m_pParent(pParent), m_pDict(pDict), - m_Type(pDict->GetStringFor("S")) { + m_Type(pDict->GetStringFor("S")), + m_Title(pDict->GetStringFor("T")) { if (pTree->GetRoleMap()) { CFX_ByteString mapped = pTree->GetRoleMap()->GetStringFor(m_Type); if (!mapped.IsEmpty()) |