From 33a747db5c9ce18bdfaaaaea17b03ef26d14ff54 Mon Sep 17 00:00:00 2001 From: tsepez Date: Thu, 28 Apr 2016 15:16:51 -0700 Subject: Replace CFX_PtrArray with typesafe CFX_ArrayTemplate, Part 5 Remove unused m_pdf417byteSegments, which was coped into from an empty array and never again referenced. Review-Url: https://codereview.chromium.org/1927253002 --- xfa/fxbarcode/common/BC_CommonDecoderResult.cpp | 2 -- xfa/fxbarcode/common/BC_CommonDecoderResult.h | 2 -- 2 files changed, 4 deletions(-) (limited to 'xfa/fxbarcode/common') diff --git a/xfa/fxbarcode/common/BC_CommonDecoderResult.cpp b/xfa/fxbarcode/common/BC_CommonDecoderResult.cpp index d28a88bfbc..45aff1cae1 100644 --- a/xfa/fxbarcode/common/BC_CommonDecoderResult.cpp +++ b/xfa/fxbarcode/common/BC_CommonDecoderResult.cpp @@ -44,7 +44,6 @@ void CBC_CommonDecoderResult::Init(const CFX_ByteArray& rawBytes, } void CBC_CommonDecoderResult::Init(const CFX_ByteArray& rawBytes, const CFX_ByteString& text, - const CFX_PtrArray& byteSegments, const CFX_ByteString& ecLevel, int32_t& e) { if (text.IsEmpty()) { @@ -53,7 +52,6 @@ void CBC_CommonDecoderResult::Init(const CFX_ByteArray& rawBytes, } m_rawBytes.Copy(rawBytes); m_text = text; - m_pdf417byteSegments.Copy(byteSegments); m_pdf417ecLevel = ecLevel; m_other = NULL; } diff --git a/xfa/fxbarcode/common/BC_CommonDecoderResult.h b/xfa/fxbarcode/common/BC_CommonDecoderResult.h index 9dc4b66dce..cec7431119 100644 --- a/xfa/fxbarcode/common/BC_CommonDecoderResult.h +++ b/xfa/fxbarcode/common/BC_CommonDecoderResult.h @@ -27,7 +27,6 @@ class CBC_CommonDecoderResult { int32_t& e); virtual void Init(const CFX_ByteArray& rawBytes, const CFX_ByteString& text, - const CFX_PtrArray& byteSegments, const CFX_ByteString& ecLevel, int32_t& e); void setOther(CBC_PDF417ResultMetadata* other); @@ -36,7 +35,6 @@ class CBC_CommonDecoderResult { CFX_ByteArray m_rawBytes; CFX_ByteString m_text; CFX_Int32Array m_byteSegments; - CFX_PtrArray m_pdf417byteSegments; CBC_QRCoderErrorCorrectionLevel* m_ecLevel; CFX_ByteString m_pdf417ecLevel; CBC_PDF417ResultMetadata* m_other; -- cgit v1.2.3