summaryrefslogtreecommitdiff
path: root/core/src/fxcodec/jbig2
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-08-14 22:23:47 -0700
committerLei Zhang <thestig@chromium.org>2015-08-14 22:23:47 -0700
commit0998538c4a5ad116caf020aa2bd82bd32a6f7772 (patch)
treef317e2514d1c73d9ff2208cf36d5ebbf4f9e50c8 /core/src/fxcodec/jbig2
parentda180e9fdd4385df024cc18046f62ca47bc74d74 (diff)
downloadpdfium-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/fxcodec/jbig2')
-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
3 files changed, 6 insertions, 6 deletions
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