diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2016-02-24 09:51:16 -0500 |
---|---|---|
committer | Dan Sinclair <dsinclair@chromium.org> | 2016-02-24 09:51:16 -0500 |
commit | 50cce609050e1a40e1d6936e0a3f0614b4483eee (patch) | |
tree | bdcd3399ee0c2fc5352ec8b008499a91ee08a422 /core/src/fxcodec/codec | |
parent | a7f70cc1ff7d54b92d9c55326c1439a25116e00c (diff) | |
download | pdfium-50cce609050e1a40e1d6936e0a3f0614b4483eee.tar.xz |
Fixing whitespace lint errors.
This CL enables several of the diabled whitelist/* lint checks.
R=thestig@chromium.org, tsepez@chromium.org
Review URL: https://codereview.chromium.org/1730553002 .
Diffstat (limited to 'core/src/fxcodec/codec')
-rw-r--r-- | core/src/fxcodec/codec/fx_codec_icc.cpp | 6 | ||||
-rw-r--r-- | core/src/fxcodec/codec/fx_codec_progress.cpp | 12 |
2 files changed, 12 insertions, 6 deletions
diff --git a/core/src/fxcodec/codec/fx_codec_icc.cpp b/core/src/fxcodec/codec/fx_codec_icc.cpp index c2129eaef2..297f392a30 100644 --- a/core/src/fxcodec/codec/fx_codec_icc.cpp +++ b/core/src/fxcodec/codec/fx_codec_icc.cpp @@ -424,11 +424,13 @@ void* CCodec_IccModule::CreateProfile(ICodec_IccModule::IccParam* pIccParam, case IccCS_Gray: text.Format("%lf", pIccParam->Gamma); break; - default:; + default: + break; } MD5ComputeID(text.GetBuffer(0), text.GetLength(), ID); break; - default:; + default: + break; } key.AppendBlock(ID, 16); CFX_ByteString ProfileKey(key.GetBuffer(), key.GetSize()); diff --git a/core/src/fxcodec/codec/fx_codec_progress.cpp b/core/src/fxcodec/codec/fx_codec_progress.cpp index 1b46c4eb22..fbbfaaf0fa 100644 --- a/core/src/fxcodec/codec/fx_codec_progress.cpp +++ b/core/src/fxcodec/codec/fx_codec_progress.cpp @@ -1258,7 +1258,8 @@ FXCODEC_STATUS CCodec_ProgressiveDecoder::LoadImageInfo( case FXCODEC_STATUS_DECODE_READY: case FXCODEC_STATUS_DECODE_TOBECONTINUE: return FXCODEC_STATUS_ERROR; - default:; + default: + break; } if (pFile == NULL) { m_status = FXCODEC_STATUS_ERR_PARAMS; @@ -1821,7 +1822,8 @@ FXCODEC_STATUS CCodec_ProgressiveDecoder::GetFrames(int32_t& frames, return m_status = FXCODEC_STATUS_ERROR; } } break; - default:; + default: + break; } return FXCODEC_STATUS_ERROR; } @@ -2219,7 +2221,8 @@ FXCODEC_STATUS CCodec_ProgressiveDecoder::ContinueDecode(IFX_Pause* pPause) { case FXDIB_Argb: pFormatBitmap = pClipBitmap; break; - default:; + default: + break; } switch (m_pDeviceBitmap->GetFormat()) { case FXDIB_8bppRgb: @@ -2257,7 +2260,8 @@ FXCODEC_STATUS CCodec_ProgressiveDecoder::ContinueDecode(IFX_Pause* pPause) { } } } break; - default:; + default: + break; } if (pClipBitmap != pFormatBitmap) { delete pClipBitmap; |