summaryrefslogtreecommitdiff
path: root/xfa/fxbarcode
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-06-10 15:24:47 -0700
committerCommit bot <commit-bot@chromium.org>2016-06-10 15:24:47 -0700
commitf49747f5fc85ea2acf0c5ff0ab589ad791bf6648 (patch)
tree228b9f8422f52e4193af4e851eb4a5c1bab9dc80 /xfa/fxbarcode
parent17e15d2fea4a3567ca84b964125da5020ecd60fe (diff)
downloadpdfium-f49747f5fc85ea2acf0c5ff0ab589ad791bf6648.tar.xz
Trust the compiler to do array indexing and superclass promotion.
Review-Url: https://codereview.chromium.org/2063463002
Diffstat (limited to 'xfa/fxbarcode')
-rw-r--r--xfa/fxbarcode/qrcode/BC_QRDetector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxbarcode/qrcode/BC_QRDetector.cpp b/xfa/fxbarcode/qrcode/BC_QRDetector.cpp
index 3ed1ea14b8..a5be32a232 100644
--- a/xfa/fxbarcode/qrcode/BC_QRDetector.cpp
+++ b/xfa/fxbarcode/qrcode/BC_QRDetector.cpp
@@ -91,7 +91,7 @@ CBC_QRDetectorResult* CBC_QRDetector::ProcessFinderPatternInfo(
}
CBC_CommonBitMatrix* bits =
SampleGrid(m_image, topLeft.get(), topRight.get(), bottomLeft.get(),
- (CBC_ResultPoint*)(alignmentPattern), dimension, e);
+ alignmentPattern, dimension, e);
BC_EXCEPTION_CHECK_ReturnValue(e, nullptr);
CFX_ArrayTemplate<CBC_ResultPoint*>* points =