From d8d6f55140bd4f0a67de833346113cfa6e03c4bd Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Wed, 14 Feb 2018 15:44:21 +0000 Subject: Cleanup CXFA_Document const-ness This CL marks methods const where possible and removes redundant methods from CXFA_Document. Change-Id: I34804425469dfd52469daba68f64a4b511e5d4d0 Reviewed-on: https://pdfium-review.googlesource.com/26730 Commit-Queue: Ryan Harrison Reviewed-by: Ryan Harrison --- xfa/fxfa/cxfa_ffdocview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xfa/fxfa/cxfa_ffdocview.cpp') diff --git a/xfa/fxfa/cxfa_ffdocview.cpp b/xfa/fxfa/cxfa_ffdocview.cpp index 8db075b3a5..42827c7d11 100644 --- a/xfa/fxfa/cxfa_ffdocview.cpp +++ b/xfa/fxfa/cxfa_ffdocview.cpp @@ -200,7 +200,7 @@ CXFA_FFPageView* CXFA_FFDocView::GetPageView(int32_t nIndex) const { } CXFA_LayoutProcessor* CXFA_FFDocView::GetXFALayout() const { - return m_pDoc->GetXFADoc()->GetDocLayout(); + return m_pDoc->GetXFADoc()->GetLayoutProcessor(); } bool CXFA_FFDocView::ResetSingleNodeData(CXFA_Node* pNode) { -- cgit v1.2.3