Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(215)

Unified Diff: xfa/fxbarcode/pdf417/BC_PDF417ECModulusPoly.h

Issue 1936733002: Replace CFX_PtrArray with typesafe CFX_ArrayTemplate, part 10 (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Nits Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « xfa/fxbarcode/pdf417/BC_PDF417DetectorResult.cpp ('k') | xfa/fxbarcode/pdf417/BC_PDF417ECModulusPoly.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fxbarcode/pdf417/BC_PDF417ECModulusPoly.h
diff --git a/xfa/fxbarcode/pdf417/BC_PDF417ECModulusPoly.h b/xfa/fxbarcode/pdf417/BC_PDF417ECModulusPoly.h
index 2eff3ef1ce25e5a1b755ae184bb562cd9e35d858..173972be6e5053d1a499c88fb1bb7ac42a63f7f6 100644
--- a/xfa/fxbarcode/pdf417/BC_PDF417ECModulusPoly.h
+++ b/xfa/fxbarcode/pdf417/BC_PDF417ECModulusPoly.h
@@ -8,12 +8,13 @@
#define XFA_FXBARCODE_PDF417_BC_PDF417ECMODULUSPOLY_H_
class CBC_PDF417ECModulusGF;
-class CBC_PDF417ECModulusPoly {
+class CBC_PDF417ECModulusPoly final {
public:
CBC_PDF417ECModulusPoly(CBC_PDF417ECModulusGF* field,
CFX_Int32Array& coefficients,
int32_t& e);
- virtual ~CBC_PDF417ECModulusPoly();
+ ~CBC_PDF417ECModulusPoly();
+
CFX_Int32Array& getCoefficients();
CBC_PDF417ECModulusGF* getField();
int32_t getDegree();
@@ -28,7 +29,9 @@ class CBC_PDF417ECModulusPoly {
CBC_PDF417ECModulusPoly* multiplyByMonomial(int32_t degree,
int32_t coefficient,
int32_t& e);
- CFX_PtrArray* divide(CBC_PDF417ECModulusPoly* other, int32_t& e);
+ CFX_ArrayTemplate<CBC_PDF417ECModulusPoly*>* divide(
+ CBC_PDF417ECModulusPoly* other,
+ int32_t& e);
CFX_ByteString toString();
private:
« no previous file with comments | « xfa/fxbarcode/pdf417/BC_PDF417DetectorResult.cpp ('k') | xfa/fxbarcode/pdf417/BC_PDF417ECModulusPoly.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698