| Index: core/src/fpdfdoc/pdf_vt.h
|
| diff --git a/core/src/fpdfdoc/pdf_vt.h b/core/src/fpdfdoc/pdf_vt.h
|
| index 64811178ebec8f88e8cd54c8c617e83b16701eb4..a237ef225ea9d0441dc000b066132bdffc759881 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;
|
|
|