diff options
author | Lei Zhang <thestig@chromium.org> | 2015-06-11 13:03:09 -0700 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-06-11 13:03:09 -0700 |
commit | eda202769e5c79eba1d2fb5090f6e9cf176e2d4a (patch) | |
tree | 733bb60ff089513182403a5ced5ea32f1d330eb0 /fpdfsdk/src/pdfwindow/PWL_Label.cpp | |
parent | 677b8fffb0c76c009ad808ed91a27738e5420254 (diff) | |
download | pdfium-eda202769e5c79eba1d2fb5090f6e9cf176e2d4a.tar.xz |
Cleanup: Get this rid of "this->" in fpdfsdk/
Also remove commented out code and trailing whitespaces.
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1179653005.
Diffstat (limited to 'fpdfsdk/src/pdfwindow/PWL_Label.cpp')
-rw-r--r-- | fpdfsdk/src/pdfwindow/PWL_Label.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fpdfsdk/src/pdfwindow/PWL_Label.cpp b/fpdfsdk/src/pdfwindow/PWL_Label.cpp index 9875002437..35af3ee91b 100644 --- a/fpdfsdk/src/pdfwindow/PWL_Label.cpp +++ b/fpdfsdk/src/pdfwindow/PWL_Label.cpp @@ -31,9 +31,9 @@ CFX_ByteString CPWL_Label::GetClassName() const void CPWL_Label::OnCreated() { SetParamByFlag(); - SetFontSize(this->GetCreationParam().fFontSize); + SetFontSize(GetCreationParam().fFontSize); - m_pEdit->SetFontMap(this->GetFontMap()); + m_pEdit->SetFontMap(GetFontMap()); m_pEdit->Initialize(); if (HasFlag(PES_TEXTOVERFLOW)) @@ -127,8 +127,8 @@ void CPWL_Label::DrawThisAppearance(CFX_RenderDevice* pDevice, CPDF_Matrix* pUse } IFX_SystemHandler* pSysHandler = GetSystemHandler(); IFX_Edit::DrawEdit(pDevice, pUser2Device, m_pEdit, - CPWL_Utils::PWLColorToFXColor(GetTextColor(), this->GetTransparency()), - CPWL_Utils::PWLColorToFXColor(GetTextStrokeColor(), this->GetTransparency()), + CPWL_Utils::PWLColorToFXColor(GetTextColor(), GetTransparency()), + CPWL_Utils::PWLColorToFXColor(GetTextStrokeColor(), GetTransparency()), rcClip, CPDF_Point(0.0f,0.0f), pRange,pSysHandler, NULL); } |