summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/pdfwindow/PWL_ComboBox.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-06-11 13:03:09 -0700
committerLei Zhang <thestig@chromium.org>2015-06-11 13:03:09 -0700
commiteda202769e5c79eba1d2fb5090f6e9cf176e2d4a (patch)
tree733bb60ff089513182403a5ced5ea32f1d330eb0 /fpdfsdk/src/pdfwindow/PWL_ComboBox.cpp
parent677b8fffb0c76c009ad808ed91a27738e5420254 (diff)
downloadpdfium-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_ComboBox.cpp')
-rw-r--r--fpdfsdk/src/pdfwindow/PWL_ComboBox.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/fpdfsdk/src/pdfwindow/PWL_ComboBox.cpp b/fpdfsdk/src/pdfwindow/PWL_ComboBox.cpp
index 6ed64a4776..bde5d2323f 100644
--- a/fpdfsdk/src/pdfwindow/PWL_ComboBox.cpp
+++ b/fpdfsdk/src/pdfwindow/PWL_ComboBox.cpp
@@ -31,7 +31,7 @@ FX_BOOL CPWL_CBListBox::OnLButtonUp(const CPDF_Point & point, FX_DWORD nFlag)
ReleaseCapture();
m_bMouseDown = FALSE;
- if (this->ClientHitTest(point))
+ if (ClientHitTest(point))
{
if (CPWL_Wnd * pParent = GetParentWindow())
{
@@ -121,7 +121,7 @@ void CPWL_CBButton::GetThisAppearanceStream(CFX_ByteTextBuf & sAppStream)
{
CFX_ByteTextBuf sButton;
- CPDF_Point ptCenter = this->GetCenterPoint();
+ CPDF_Point ptCenter = GetCenterPoint();
CPDF_Point pt1(ptCenter.x - PWL_CBBUTTON_TRIANGLE_HALFLEN,ptCenter.y + PWL_CBBUTTON_TRIANGLE_HALFLEN * 0.5f);
CPDF_Point pt2(ptCenter.x + PWL_CBBUTTON_TRIANGLE_HALFLEN,ptCenter.y + PWL_CBBUTTON_TRIANGLE_HALFLEN * 0.5f);
@@ -151,7 +151,7 @@ void CPWL_CBButton::DrawThisAppearance(CFX_RenderDevice* pDevice, CPDF_Matrix* p
if (IsVisible() && !rectWnd.IsEmpty())
{
- CPDF_Point ptCenter = this->GetCenterPoint();
+ CPDF_Point ptCenter = GetCenterPoint();
CPDF_Point pt1(ptCenter.x - PWL_CBBUTTON_TRIANGLE_HALFLEN,ptCenter.y + PWL_CBBUTTON_TRIANGLE_HALFLEN * 0.5f);
CPDF_Point pt2(ptCenter.x + PWL_CBBUTTON_TRIANGLE_HALFLEN,ptCenter.y + PWL_CBBUTTON_TRIANGLE_HALFLEN * 0.5f);