diff options
author | tsepez <tsepez@chromium.org> | 2016-04-29 13:45:14 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-29 13:45:14 -0700 |
commit | e801d4e064690fbe1815d25d220cfbca79976a4f (patch) | |
tree | c7955761755597d8430b70f2e477d7b7a272f46b /xfa/fxbarcode/oned/BC_OnedCode128Writer.h | |
parent | e7ca8ba0f76d175eb89e4cc3aa3aa2743711414e (diff) | |
download | pdfium-e801d4e064690fbe1815d25d220cfbca79976a4f.tar.xz |
Replace CFX_PtrArray with typesafe CFX_ArrayTemplate, part 9
Converted one place to unique_ptr to avoid redundant cleanup.
Review-Url: https://codereview.chromium.org/1937593002
Diffstat (limited to 'xfa/fxbarcode/oned/BC_OnedCode128Writer.h')
-rw-r--r-- | xfa/fxbarcode/oned/BC_OnedCode128Writer.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/xfa/fxbarcode/oned/BC_OnedCode128Writer.h b/xfa/fxbarcode/oned/BC_OnedCode128Writer.h index aa6bd90f17..b2530642af 100644 --- a/xfa/fxbarcode/oned/BC_OnedCode128Writer.h +++ b/xfa/fxbarcode/oned/BC_OnedCode128Writer.h @@ -47,8 +47,10 @@ class CBC_OnedCode128Writer : public CBC_OneDimWriter { FX_BOOL IsDigits(const CFX_ByteString& contents, int32_t start, int32_t length); - int32_t Encode128B(const CFX_ByteString& contents, CFX_PtrArray& patterns); - int32_t Encode128C(const CFX_ByteString& contents, CFX_PtrArray& patterns); + int32_t Encode128B(const CFX_ByteString& contents, + CFX_ArrayTemplate<const int32_t*>* patterns); + int32_t Encode128C(const CFX_ByteString& contents, + CFX_ArrayTemplate<const int32_t*>* patterns); BC_TYPE m_codeFormat; }; |