diff options
author | dsinclair <dsinclair@chromium.org> | 2016-07-21 12:03:01 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-07-21 12:03:02 -0700 |
commit | 0b851fffe118d8be26e776256144a6b85495ce74 (patch) | |
tree | 909dd6a08a506894f1953fb00e8afc8c27c8dd8e /xfa/fxfa/app/xfa_ffpageview.cpp | |
parent | 9eb0db1d7f6273de7eb28b0e1490eaf893e3bfb5 (diff) | |
download | pdfium-0b851fffe118d8be26e776256144a6b85495ce74.tar.xz |
Rename xfa_doclayout and xfa_document_layout_imp files.
This Cl moves the xfa_doclayout and xfa_document_layout_imp files to have
names based off of their classes.
Review-Url: https://codereview.chromium.org/2170473002
Diffstat (limited to 'xfa/fxfa/app/xfa_ffpageview.cpp')
-rw-r--r-- | xfa/fxfa/app/xfa_ffpageview.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/xfa/fxfa/app/xfa_ffpageview.cpp b/xfa/fxfa/app/xfa_ffpageview.cpp index c1417c72a4..347174c7f2 100644 --- a/xfa/fxfa/app/xfa_ffpageview.cpp +++ b/xfa/fxfa/app/xfa_ffpageview.cpp @@ -121,15 +121,13 @@ CXFA_FFDocView* CXFA_FFPageView::GetDocView() const { } void CXFA_FFPageView::GetPageViewRect(CFX_RectF& rtPage) const { - CFX_SizeF sz; - GetPageSize(sz); - rtPage.Set(0, 0, sz); + rtPage.Set(0, 0, GetPageSize()); } + void CXFA_FFPageView::GetDisplayMatrix(CFX_Matrix& mt, const CFX_Rect& rtDisp, int32_t iRotate) const { - CFX_SizeF sz; - GetPageSize(sz); + CFX_SizeF sz = GetPageSize(); CFX_RectF fdePage; fdePage.Set(0, 0, sz.x, sz.y); GetPageMatrix(mt, fdePage, rtDisp, iRotate, 0); |