diff options
Diffstat (limited to 'xfa/fxfa/parser/xfa_document_layout_imp.cpp')
-rw-r--r-- | xfa/fxfa/parser/xfa_document_layout_imp.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xfa/fxfa/parser/xfa_document_layout_imp.cpp b/xfa/fxfa/parser/xfa_document_layout_imp.cpp index 79037d7ec7..eea99ece88 100644 --- a/xfa/fxfa/parser/xfa_document_layout_imp.cpp +++ b/xfa/fxfa/parser/xfa_document_layout_imp.cpp @@ -180,7 +180,8 @@ int32_t CXFA_ContainerLayoutItem::GetPageIndex() const { ->GetLayoutPageMgr() ->GetPageIndex(this); } -void CXFA_ContainerLayoutItem::GetPageSize(CFX_SizeF& size) { + +void CXFA_ContainerLayoutItem::GetPageSize(CFX_SizeF& size) const { size.clear(); CXFA_Node* pMedium = m_pFormNode->GetFirstChildByClass(XFA_ELEMENT_Medium); if (!pMedium) @@ -193,6 +194,7 @@ void CXFA_ContainerLayoutItem::GetPageSize(CFX_SizeF& size) { size = CFX_SizeF(size.y, size.x); } } + CXFA_Node* CXFA_ContainerLayoutItem::GetMasterPage() const { return m_pFormNode; } |