summaryrefslogtreecommitdiff
path: root/fpdfsdk/include/pdfwindow
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-08-14 22:23:47 -0700
committerLei Zhang <thestig@chromium.org>2015-08-14 22:23:47 -0700
commit0998538c4a5ad116caf020aa2bd82bd32a6f7772 (patch)
treef317e2514d1c73d9ff2208cf36d5ebbf4f9e50c8 /fpdfsdk/include/pdfwindow
parentda180e9fdd4385df024cc18046f62ca47bc74d74 (diff)
downloadpdfium-0998538c4a5ad116caf020aa2bd82bd32a6f7772.tar.xz
Merge to XFA: Cleanup: Fix some unneeded semi-colons and bad spacing.
TBR=tsepez@chromium.org Review URL: https://codereview.chromium.org/1284193005 . (cherry picked from commit 632b807b386878afdb42322f0037f8998306f4a9) Review URL: https://codereview.chromium.org/1301453002 .
Diffstat (limited to 'fpdfsdk/include/pdfwindow')
-rw-r--r--fpdfsdk/include/pdfwindow/PWL_Icon.h4
-rw-r--r--fpdfsdk/include/pdfwindow/PWL_ScrollBar.h2
-rw-r--r--fpdfsdk/include/pdfwindow/PWL_Wnd.h2
3 files changed, 4 insertions, 4 deletions
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;