diff options
author | Lei Zhang <thestig@chromium.org> | 2015-08-14 22:23:47 -0700 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-08-14 22:23:47 -0700 |
commit | 0998538c4a5ad116caf020aa2bd82bd32a6f7772 (patch) | |
tree | f317e2514d1c73d9ff2208cf36d5ebbf4f9e50c8 /core/src/fpdfdoc | |
parent | da180e9fdd4385df024cc18046f62ca47bc74d74 (diff) | |
download | pdfium-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 'core/src/fpdfdoc')
-rw-r--r-- | core/src/fpdfdoc/pdf_vt.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/core/src/fpdfdoc/pdf_vt.h b/core/src/fpdfdoc/pdf_vt.h index 64811178eb..a237ef225e 100644 --- a/core/src/fpdfdoc/pdf_vt.h +++ b/core/src/fpdfdoc/pdf_vt.h @@ -306,16 +306,16 @@ class CTypeset { }; class CPDF_EditContainer { public: - CPDF_EditContainer() : m_rcPlate(0, 0, 0, 0), m_rcContent(0, 0, 0, 0){}; - virtual ~CPDF_EditContainer(){}; - virtual void SetPlateRect(const CPDF_Rect& rect) { m_rcPlate = rect; }; - virtual const CPDF_Rect& GetPlateRect() const { return m_rcPlate; }; + CPDF_EditContainer() : m_rcPlate(0, 0, 0, 0), m_rcContent(0, 0, 0, 0) {} + virtual ~CPDF_EditContainer() {} + virtual void SetPlateRect(const CPDF_Rect& rect) { m_rcPlate = rect; } + virtual const CPDF_Rect& GetPlateRect() const { return m_rcPlate; } virtual void SetContentRect(const CPVT_FloatRect& rect) { m_rcContent = rect; }; - virtual CPDF_Rect GetContentRect() const { return m_rcContent; }; - FX_FLOAT GetPlateWidth() const { return m_rcPlate.right - m_rcPlate.left; }; - FX_FLOAT GetPlateHeight() const { return m_rcPlate.top - m_rcPlate.bottom; }; + virtual CPDF_Rect GetContentRect() const { return m_rcContent; } + FX_FLOAT GetPlateWidth() const { return m_rcPlate.right - m_rcPlate.left; } + FX_FLOAT GetPlateHeight() const { return m_rcPlate.top - m_rcPlate.bottom; } CPVT_Size GetPlateSize() const { return CPVT_Size(GetPlateWidth(), GetPlateHeight()); }; @@ -561,7 +561,7 @@ class CPDF_VariableText_Iterator : public IPDF_VariableText_Iterator { FX_BOOL SetSection(const CPVT_Section& section) override; void SetAt(int32_t nWordIndex) override; void SetAt(const CPVT_WordPlace& place) override; - const CPVT_WordPlace& GetAt() const override { return m_CurPos; }; + const CPVT_WordPlace& GetAt() const override { return m_CurPos; } private: CPVT_WordPlace m_CurPos; |