summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/pdfwindow/PWL_Label.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/src/pdfwindow/PWL_Label.cpp')
-rw-r--r--fpdfsdk/src/pdfwindow/PWL_Label.cpp8
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);
}