diff options
author | Lei Zhang <thestig@chromium.org> | 2015-05-14 22:06:54 -0700 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-05-14 22:06:54 -0700 |
commit | b60617f5557a037e64876f7495af80573a35cb4f (patch) | |
tree | 9c2f973f726e16418dc360a33c1860568736ab51 /core/src/fxge | |
parent | f33cdd54d5d5340d8a662048d9cf4abe7d5f0488 (diff) | |
download | pdfium-b60617f5557a037e64876f7495af80573a35cb4f.tar.xz |
Fix another batch of compiler warnings.
Also fix typos and remove trailing spaces/tabs.
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1141123002
Diffstat (limited to 'core/src/fxge')
-rw-r--r-- | core/src/fxge/dib/fx_dib_convert.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/core/src/fxge/dib/fx_dib_convert.cpp b/core/src/fxge/dib/fx_dib_convert.cpp index 7932305a4f..5b85c7d756 100644 --- a/core/src/fxge/dib/fx_dib_convert.cpp +++ b/core/src/fxge/dib/fx_dib_convert.cpp @@ -1,7 +1,7 @@ // Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. - + // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #include "../../../include/fxge/fx_dib.h" @@ -97,7 +97,7 @@ const FX_DWORD g_dwMacPalette[256] = { 0xffEEEEEE, 0xffDDDDDD, 0xffBBBBBB, 0xffAAAAAA, 0xff888888, 0xff777777, 0xff555555, 0xff444444, 0xff222222, 0xff111111, 0xff000000 }; -class CFX_Palette +class CFX_Palette { public: CFX_Palette(); @@ -585,10 +585,6 @@ inline FX_BOOL _ConvertBuffer_Rgb2PltRgb8_NoTransform(FX_LPBYTE dest_buf, int de FX_BOOL _ConvertBuffer_Rgb2PltRgb8(FX_LPBYTE dest_buf, int dest_pitch, int width, int height, const CFX_DIBSource* pSrcBitmap, int src_left, int src_top, FX_DWORD* dst_plt, void* pIccTransform) { - ICodec_IccModule* pIccModule = NULL; - if (pIccTransform) { - pIccModule = CFX_GEModule::Get()->GetCodecModule()->GetIccModule(); - } FX_BOOL ret = _ConvertBuffer_Rgb2PltRgb8_NoTransform(dest_buf, dest_pitch, width, height, pSrcBitmap, src_left, src_top, dst_plt); if (ret && pIccTransform) { ICodec_IccModule* pIccModule = CFX_GEModule::Get()->GetCodecModule()->GetIccModule(); |