From fbe14b97f00b866e69e0970881550f6d6d9465cd Mon Sep 17 00:00:00 2001 From: thestig Date: Mon, 2 May 2016 13:31:10 -0700 Subject: Fix lint bugs. Also fix typos and overrides. Review-Url: https://codereview.chromium.org/1935793002 --- xfa/fwl/basewidget/fxmath_barcodeimp.cpp | 4 ++-- xfa/fwl/basewidget/fxmath_barcodeimp.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'xfa/fwl/basewidget') diff --git a/xfa/fwl/basewidget/fxmath_barcodeimp.cpp b/xfa/fwl/basewidget/fxmath_barcodeimp.cpp index 5efd1621c8..1d3af697b1 100644 --- a/xfa/fwl/basewidget/fxmath_barcodeimp.cpp +++ b/xfa/fwl/basewidget/fxmath_barcodeimp.cpp @@ -338,12 +338,12 @@ FX_BOOL CFX_Barcode::Encode(const CFX_WideStringC& contents, return m_pBCEngine->Encode(contents, isDevice, e); } FX_BOOL CFX_Barcode::RenderDevice(CFX_RenderDevice* device, - const CFX_Matrix* matirx, + const CFX_Matrix* matrix, int32_t& e) { if (!m_pBCEngine) { return FALSE; } - return m_pBCEngine->RenderDevice(device, matirx, e); + return m_pBCEngine->RenderDevice(device, matrix, e); } FX_BOOL CFX_Barcode::RenderBitmap(CFX_DIBitmap*& pOutBitmap, int32_t& e) { if (!m_pBCEngine) { diff --git a/xfa/fwl/basewidget/fxmath_barcodeimp.h b/xfa/fwl/basewidget/fxmath_barcodeimp.h index b52e900f90..eca41d05a6 100644 --- a/xfa/fwl/basewidget/fxmath_barcodeimp.h +++ b/xfa/fwl/basewidget/fxmath_barcodeimp.h @@ -28,7 +28,7 @@ class CFX_Barcode { BC_TYPE GetType(); FX_BOOL Encode(const CFX_WideStringC& contents, FX_BOOL isDevice, int32_t& e); FX_BOOL RenderDevice(CFX_RenderDevice* device, - const CFX_Matrix* matirx, + const CFX_Matrix* matrix, int32_t& e); FX_BOOL RenderBitmap(CFX_DIBitmap*& pOutBitmap, int32_t& e); CFX_WideString Decode(uint8_t* buf, -- cgit v1.2.3