diff options
author | dsinclair <dsinclair@chromium.org> | 2016-11-14 09:01:37 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-14 09:01:37 -0800 |
commit | c64b76c97c7f469ebd4126f314badceeb8a78b8b (patch) | |
tree | b2a77865503271247156447e30c9ab2a9db2f6f4 /xfa/fwl/core/cfwl_picturebox.cpp | |
parent | 27e66753c8bd6e664f26d05c1a468dc68be01913 (diff) | |
download | pdfium-c64b76c97c7f469ebd4126f314badceeb8a78b8b.tar.xz |
Cleanup remaining IFWL files for visiblity and usage.
This CL cleans up the remaining ifwl_* files to fixup visibility, remove
unused methods and remove unused FWL_Error return codes.
Review-Url: https://codereview.chromium.org/2502653002
Diffstat (limited to 'xfa/fwl/core/cfwl_picturebox.cpp')
-rw-r--r-- | xfa/fwl/core/cfwl_picturebox.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xfa/fwl/core/cfwl_picturebox.cpp b/xfa/fwl/core/cfwl_picturebox.cpp index 8badc999ea..b701ae7eba 100644 --- a/xfa/fwl/core/cfwl_picturebox.cpp +++ b/xfa/fwl/core/cfwl_picturebox.cpp @@ -114,7 +114,7 @@ int32_t CFWL_PictureBox::GetOpacity(IFWL_Widget* pWidget) { return m_iOpacity; } -FWL_Error CFWL_PictureBox::GetMatrix(IFWL_Widget* pWidget, CFX_Matrix& matrix) { +void CFWL_PictureBox::GetMatrix(IFWL_Widget* pWidget, CFX_Matrix& matrix) { CFX_RectF rect; pWidget->GetClientRect(rect); FX_FLOAT fLen = rect.width / 2; @@ -125,7 +125,6 @@ FWL_Error CFWL_PictureBox::GetMatrix(IFWL_Widget* pWidget, CFX_Matrix& matrix) { matrix.Translate(fLen, fWid); matrix.Scale(m_fScaleX, m_fScaleY); matrix.Translate(m_fOffSetX, m_fOffSetY); - return FWL_Error::Succeeded; } int32_t CFWL_PictureBox::GetFlipMode(IFWL_Widget* pWidget) { |