summaryrefslogtreecommitdiff
path: root/core/src/fpdfdoc
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-08-14 21:39:51 -0700
committerLei Zhang <thestig@chromium.org>2015-08-14 21:39:51 -0700
commit632b807b386878afdb42322f0037f8998306f4a9 (patch)
treeb9ff525f52a3344d77ef7154a0b698286875b029 /core/src/fpdfdoc
parent24fbf134d43a7ec4226de3db601f0a617bbe428b (diff)
downloadpdfium-632b807b386878afdb42322f0037f8998306f4a9.tar.xz
Clean: Fix some unneeded semi-colons and bad spacing.
TBR=tsepez@chromium.org Review URL: https://codereview.chromium.org/1284193005 .
Diffstat (limited to 'core/src/fpdfdoc')
-rw-r--r--core/src/fpdfdoc/pdf_vt.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/core/src/fpdfdoc/pdf_vt.h b/core/src/fpdfdoc/pdf_vt.h
index 207daab98d..2cd673fbe5 100644
--- a/core/src/fpdfdoc/pdf_vt.h
+++ b/core/src/fpdfdoc/pdf_vt.h
@@ -301,16 +301,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());
};
@@ -556,7 +556,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;