summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/src/fpdfapi/fpdf_font/ttgsubtable.h2
-rw-r--r--core/src/fpdfdoc/pdf_vt.h16
-rw-r--r--core/src/fpdftext/text_int.h8
-rw-r--r--core/src/fxcodec/codec/codec_int.h4
-rw-r--r--core/src/fxcodec/jbig2/JBig2_Context.h2
-rw-r--r--core/src/fxcodec/jbig2/JBig2_GeneralDecoder.h2
-rw-r--r--core/src/fxcodec/jbig2/JBig2_Module.h8
7 files changed, 21 insertions, 21 deletions
diff --git a/core/src/fpdfapi/fpdf_font/ttgsubtable.h b/core/src/fpdfapi/fpdf_font/ttgsubtable.h
index 395544ddbf..67cda371c1 100644
--- a/core/src/fpdfapi/fpdf_font/ttgsubtable.h
+++ b/core/src/fpdfapi/fpdf_font/ttgsubtable.h
@@ -23,7 +23,7 @@ class CFX_GlyphMap {
};
class CFX_CTTGSUBTable {
public:
- CFX_CTTGSUBTable(void) : m_bFeautureMapLoad(FALSE), loaded(false){};
+ CFX_CTTGSUBTable(void) : m_bFeautureMapLoad(FALSE), loaded(false) {}
CFX_CTTGSUBTable(FT_Bytes gsub) : m_bFeautureMapLoad(FALSE), loaded(false) {
LoadGSUBTable(gsub);
}
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;
diff --git a/core/src/fpdftext/text_int.h b/core/src/fpdftext/text_int.h
index b0c79cd9bc..091ee241d4 100644
--- a/core/src/fpdftext/text_int.h
+++ b/core/src/fpdftext/text_int.h
@@ -47,7 +47,7 @@ class CPDF_TextPage : public IPDF_TextPage {
CPDF_TextPage(const CPDF_Page* pPage, int flags = 0);
CPDF_TextPage(const CPDF_PageObjects* pPage, int flags = 0);
CPDF_TextPage(const CPDF_Page* pPage, CPDFText_ParseOptions ParserOptions);
- ~CPDF_TextPage() override{};
+ ~CPDF_TextPage() override {}
// IPDF_TextPage
FX_BOOL ParseTextPage() override;
@@ -149,7 +149,7 @@ class CPDF_TextPage : public IPDF_TextPage {
class CPDF_TextPageFind : public IPDF_TextPageFind {
public:
CPDF_TextPageFind(const IPDF_TextPage* pTextPage);
- ~CPDF_TextPageFind() override{};
+ ~CPDF_TextPageFind() override {}
// IPDF_TextPageFind
FX_BOOL FindFirst(const CFX_WideString& findwhat,
@@ -195,11 +195,11 @@ class CPDF_TextPageFind : public IPDF_TextPageFind {
};
class CPDF_LinkExt {
public:
- CPDF_LinkExt(){};
+ CPDF_LinkExt() {}
int m_Start;
int m_Count;
CFX_WideString m_strUrl;
- virtual ~CPDF_LinkExt(){};
+ virtual ~CPDF_LinkExt() {}
};
typedef CFX_ArrayTemplate<CPDF_LinkExt*> LINK_InfoArray;
diff --git a/core/src/fxcodec/codec/codec_int.h b/core/src/fxcodec/codec/codec_int.h
index e7baa585f9..ec558bea28 100644
--- a/core/src/fxcodec/codec/codec_int.h
+++ b/core/src/fxcodec/codec/codec_int.h
@@ -288,7 +288,7 @@ class CPDF_Jbig2Interface : public CJBig2_Module {
class CCodec_Jbig2Context {
public:
CCodec_Jbig2Context();
- ~CCodec_Jbig2Context(){};
+ ~CCodec_Jbig2Context() {}
FX_DWORD m_width;
FX_DWORD m_height;
@@ -305,7 +305,7 @@ class CCodec_Jbig2Context {
};
class CCodec_Jbig2Module : public ICodec_Jbig2Module {
public:
- CCodec_Jbig2Module(){};
+ CCodec_Jbig2Module() {}
~CCodec_Jbig2Module() override;
// ICodec_Jbig2Module
diff --git a/core/src/fxcodec/jbig2/JBig2_Context.h b/core/src/fxcodec/jbig2/JBig2_Context.h
index 07f886ee49..25261a17bf 100644
--- a/core/src/fxcodec/jbig2/JBig2_Context.h
+++ b/core/src/fxcodec/jbig2/JBig2_Context.h
@@ -66,7 +66,7 @@ class CJBig2_Context : public CJBig2_Object {
int32_t getNextPage(CJBig2_Image** image, IFX_Pause* pPause);
int32_t Continue(IFX_Pause* pPause);
- FXCODEC_STATUS GetProcessiveStatus() { return m_ProcessiveStatus; };
+ FXCODEC_STATUS GetProcessiveStatus() { return m_ProcessiveStatus; }
private:
CJBig2_Context(uint8_t* pGlobalData,
diff --git a/core/src/fxcodec/jbig2/JBig2_GeneralDecoder.h b/core/src/fxcodec/jbig2/JBig2_GeneralDecoder.h
index 3c9a39a19f..eb90f6b183 100644
--- a/core/src/fxcodec/jbig2/JBig2_GeneralDecoder.h
+++ b/core/src/fxcodec/jbig2/JBig2_GeneralDecoder.h
@@ -63,7 +63,7 @@ class CJBig2_GRDProc : public CJBig2_Object {
CJBig2_BitStream* pStream,
IFX_Pause* pPause = NULL);
FXCODEC_STATUS Continue_decode(IFX_Pause* pPause);
- FX_RECT GetReplaceRect() { return m_ReplaceRect; };
+ FX_RECT GetReplaceRect() { return m_ReplaceRect; }
private:
FXCODEC_STATUS decode_Arith(IFX_Pause* pPause);
diff --git a/core/src/fxcodec/jbig2/JBig2_Module.h b/core/src/fxcodec/jbig2/JBig2_Module.h
index c669afe696..53e47605ba 100644
--- a/core/src/fxcodec/jbig2/JBig2_Module.h
+++ b/core/src/fxcodec/jbig2/JBig2_Module.h
@@ -23,12 +23,12 @@ class CJBig2_Module {
virtual void JBig2_Free(void* pMem) = 0;
- virtual void JBig2_Assert(int32_t nExpression){};
+ virtual void JBig2_Assert(int32_t nExpression) {}
- virtual void JBig2_Error(const FX_CHAR* format, ...){};
+ virtual void JBig2_Error(const FX_CHAR* format, ...) {}
- virtual void JBig2_Warn(const FX_CHAR* format, ...){};
+ virtual void JBig2_Warn(const FX_CHAR* format, ...) {}
- virtual void JBig2_Log(const FX_CHAR* format, ...){};
+ virtual void JBig2_Log(const FX_CHAR* format, ...) {}
};
#endif