From 632b807b386878afdb42322f0037f8998306f4a9 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Fri, 14 Aug 2015 21:39:51 -0700 Subject: Clean: Fix some unneeded semi-colons and bad spacing. TBR=tsepez@chromium.org Review URL: https://codereview.chromium.org/1284193005 . --- fpdfsdk/include/pdfwindow/PWL_Icon.h | 4 ++-- fpdfsdk/include/pdfwindow/PWL_ScrollBar.h | 2 +- fpdfsdk/include/pdfwindow/PWL_Wnd.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'fpdfsdk/include/pdfwindow') diff --git a/fpdfsdk/include/pdfwindow/PWL_Icon.h b/fpdfsdk/include/pdfwindow/PWL_Icon.h index 95157cad1f..827741106b 100644 --- a/fpdfsdk/include/pdfwindow/PWL_Icon.h +++ b/fpdfsdk/include/pdfwindow/PWL_Icon.h @@ -38,7 +38,7 @@ class CPWL_Icon : public CPWL_Image { CPWL_Icon(); ~CPWL_Icon() override; - virtual CPDF_IconFit* GetIconFit() { return m_pIconFit; }; + virtual CPDF_IconFit* GetIconFit() { return m_pIconFit; } // CPWL_Image void GetScale(FX_FLOAT& fHScale, FX_FLOAT& fVScale) override; @@ -49,7 +49,7 @@ class CPWL_Icon : public CPWL_Image { void GetIconPosition(FX_FLOAT& fLeft, FX_FLOAT& fBottom); FX_BOOL GetFittingBounds(); - void SetIconFit(CPDF_IconFit* pIconFit) { m_pIconFit = pIconFit; }; + void SetIconFit(CPDF_IconFit* pIconFit) { m_pIconFit = pIconFit; } private: CPDF_IconFit* m_pIconFit; diff --git a/fpdfsdk/include/pdfwindow/PWL_ScrollBar.h b/fpdfsdk/include/pdfwindow/PWL_ScrollBar.h index ec1b78ed5e..b91d467daa 100644 --- a/fpdfsdk/include/pdfwindow/PWL_ScrollBar.h +++ b/fpdfsdk/include/pdfwindow/PWL_ScrollBar.h @@ -111,7 +111,7 @@ class CPWL_ScrollBar : public CPWL_Wnd { void TimerProc() override; FX_FLOAT GetScrollBarWidth() const; - PWL_SCROLLBAR_TYPE GetScrollBarType() const { return m_sbType; }; + PWL_SCROLLBAR_TYPE GetScrollBarType() const { return m_sbType; } void SetNotifyForever(FX_BOOL bForever) { m_bNotifyForever = bForever; } diff --git a/fpdfsdk/include/pdfwindow/PWL_Wnd.h b/fpdfsdk/include/pdfwindow/PWL_Wnd.h index 37af083835..e8340c34ad 100644 --- a/fpdfsdk/include/pdfwindow/PWL_Wnd.h +++ b/fpdfsdk/include/pdfwindow/PWL_Wnd.h @@ -422,7 +422,7 @@ class CPWL_Wnd : public CPWL_TimerHandler { virtual void OnEnabled(); virtual void OnDisabled(); - void SetNotifyFlag(FX_BOOL bNotifying = TRUE) { m_bNotifying = bNotifying; }; + void SetNotifyFlag(FX_BOOL bNotifying = TRUE) { m_bNotifying = bNotifying; } FX_BOOL IsValid() const; PWL_CREATEPARAM GetCreationParam() const; -- cgit v1.2.3