summaryrefslogtreecommitdiff
path: root/core/src/fxcodec
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/fxcodec
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/fxcodec')
-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
4 files changed, 8 insertions, 8 deletions
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