summaryrefslogtreecommitdiff
path: root/xfa/fxbarcode/common
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-04-28 15:16:51 -0700
committerCommit bot <commit-bot@chromium.org>2016-04-28 15:16:51 -0700
commit33a747db5c9ce18bdfaaaaea17b03ef26d14ff54 (patch)
tree9d8249844ea44f432891ffa67d7bca51bdb1f033 /xfa/fxbarcode/common
parent18713d20e080c344e0ed09e3f0ac5bacb0645fc5 (diff)
downloadpdfium-33a747db5c9ce18bdfaaaaea17b03ef26d14ff54.tar.xz
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
Diffstat (limited to 'xfa/fxbarcode/common')
-rw-r--r--xfa/fxbarcode/common/BC_CommonDecoderResult.cpp2
-rw-r--r--xfa/fxbarcode/common/BC_CommonDecoderResult.h2
2 files changed, 0 insertions, 4 deletions
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;