diff options
author | Lei Zhang <thestig@chromium.org> | 2015-06-10 23:33:26 -0700 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-06-10 23:33:26 -0700 |
commit | 2b5e0d5b20654d116045484868c9e015ed698124 (patch) | |
tree | e458d5b729c992d58072d19422f7c83b3973d54b /core/src/reflow | |
parent | f726c92cb2cf5739fd5b21e825e5bf510040c62f (diff) | |
download | pdfium-2b5e0d5b20654d116045484868c9e015ed698124.tar.xz |
Cleanup: Remove uses of "this->" in core/
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1173223002.
Diffstat (limited to 'core/src/reflow')
-rw-r--r-- | core/src/reflow/layoutprovider_taggedpdf.cpp | 2 | ||||
-rw-r--r-- | core/src/reflow/reflowedpage.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/core/src/reflow/layoutprovider_taggedpdf.cpp b/core/src/reflow/layoutprovider_taggedpdf.cpp index 57ce4303e2..37eb2ad3cc 100644 --- a/core/src/reflow/layoutprovider_taggedpdf.cpp +++ b/core/src/reflow/layoutprovider_taggedpdf.cpp @@ -450,7 +450,7 @@ LayoutType CPDF_LayoutElement::GetType() return LayoutUnknown; } CFX_ByteString name = m_pTaggedElement->GetType(); - return this->ConvertLayoutType(name); + return ConvertLayoutType(name); } int CPDF_LayoutElement::CountAttrValues(LayoutAttr attr_type) { diff --git a/core/src/reflow/reflowedpage.cpp b/core/src/reflow/reflowedpage.cpp index 1c78e75cbc..41a80b7a06 100644 --- a/core/src/reflow/reflowedpage.cpp +++ b/core/src/reflow/reflowedpage.cpp @@ -223,7 +223,7 @@ void CPDF_ReflowedPage::FocusGetData(const CFX_AffineMatrix matrix, int32_t x, i if(FXSYS_fabs(tempdy - dy) < 1) { continue; } - CFX_FloatRect rect (0, pData->m_PosY + pData->m_Height, this->m_PageWidth, pData->m_PosY); + CFX_FloatRect rect (0, pData->m_PosY + pData->m_Height, m_PageWidth, pData->m_PosY); if(rect.Contains(x1, y1)) { pos = i; dx = 0; @@ -318,7 +318,7 @@ void CPDF_ProgressiveReflowPageParser::Continue(IFX_Pause* pPause) } void CPDF_ProgressiveReflowPageParser::Clear() { - this->Init(); + Init(); return; } FX_BOOL IPDF_ProgressiveReflowPageParser::IsTaggedPage(CPDF_PageObjects*pPage) |