diff options
Diffstat (limited to 'fpdfsdk/fpdf_structtree.cpp')
-rw-r--r-- | fpdfsdk/fpdf_structtree.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fpdfsdk/fpdf_structtree.cpp b/fpdfsdk/fpdf_structtree.cpp index 027695e36d..99fc302490 100644 --- a/fpdfsdk/fpdf_structtree.cpp +++ b/fpdfsdk/fpdf_structtree.cpp @@ -37,8 +37,7 @@ FPDF_StructTree_GetForPage(FPDF_PAGE page) { // Caller takes onwership. return FPDFStructTreeFromCPDFStructTree( - CPDF_StructTree::LoadPage(pPage->m_pDocument.Get(), - pPage->m_pFormDict.Get()) + CPDF_StructTree::LoadPage(pPage->GetDocument(), pPage->m_pFormDict.Get()) .release()); } |