summaryrefslogtreecommitdiff
path: root/core/src/reflow
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-06-13 00:31:30 -0700
committerLei Zhang <thestig@chromium.org>2015-06-13 00:31:30 -0700
commit4999f914be6c390bbc6d709c5b65d8955a827970 (patch)
treeb98be7bda6310b5c4bd1c5de1018850b4a4a08aa /core/src/reflow
parent7dac05808121e6ac40a9911e71e6391c88432a62 (diff)
downloadpdfium-4999f914be6c390bbc6d709c5b65d8955a827970.tar.xz
Merge to XFA: Cleanup: Remove uses of "this->" in core/
R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1173223002. (cherry picked from commit 2b5e0d5b20654d116045484868c9e015ed698124) Review URL: https://codereview.chromium.org/1186673004.
Diffstat (limited to 'core/src/reflow')
-rw-r--r--core/src/reflow/layoutprovider_taggedpdf.cpp2
-rw-r--r--core/src/reflow/reflowedpage.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/core/src/reflow/layoutprovider_taggedpdf.cpp b/core/src/reflow/layoutprovider_taggedpdf.cpp
index 3893144ab2..785b0e281b 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 b7048b6840..3335eed678 100644
--- a/core/src/reflow/reflowedpage.cpp
+++ b/core/src/reflow/reflowedpage.cpp
@@ -226,7 +226,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;
@@ -321,7 +321,7 @@ void CPDF_ProgressiveReflowPageParser::Continue(IFX_Pause* pPause)
}
void CPDF_ProgressiveReflowPageParser::Clear()
{
- this->Init();
+ Init();
return;
}
FX_BOOL IPDF_ProgressiveReflowPageParser::IsTaggedPage(CPDF_PageObjects*pPage)