diff options
author | tsepez <tsepez@chromium.org> | 2016-05-02 13:47:17 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-02 13:47:17 -0700 |
commit | 6020e45b406e7a130024de87101b4493543f9deb (patch) | |
tree | e533401947212d7615a2504922caaaa7f450703a /xfa/fxbarcode/qrcode/BC_QRCoderEncoder.h | |
parent | fbe14b97f00b866e69e0970881550f6d6d9465cd (diff) | |
download | pdfium-6020e45b406e7a130024de87101b4493543f9deb.tar.xz |
Replace CFX_PtrArray with typesafe CFX_ArrayTemplate, part 11
Last part. Remove CFX_PtrArray typedef.
Review-Url: https://codereview.chromium.org/1941863002
Diffstat (limited to 'xfa/fxbarcode/qrcode/BC_QRCoderEncoder.h')
-rw-r--r-- | xfa/fxbarcode/qrcode/BC_QRCoderEncoder.h | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/xfa/fxbarcode/qrcode/BC_QRCoderEncoder.h b/xfa/fxbarcode/qrcode/BC_QRCoderEncoder.h index bbdec5bf1e..be0a76c337 100644 --- a/xfa/fxbarcode/qrcode/BC_QRCoderEncoder.h +++ b/xfa/fxbarcode/qrcode/BC_QRCoderEncoder.h @@ -16,6 +16,7 @@ class CBC_QRCoderMode; class CBC_QRCoderBitVector; class CBC_CommonByteArray; class CBC_CommonByteMatrix; +class Make_Pair; class CBC_QRCoderEncoder { private: @@ -120,14 +121,18 @@ class CBC_QRCoderEncoder { CBC_QRCoderMode* modeSecond, int32_t versionNum, int32_t& e); - static void MergeString(CFX_PtrArray& result, int32_t versionNum, int32_t& e); - static void SplitString(const CFX_ByteString& content, CFX_PtrArray& result); - static void AppendDataModeLenghInfo(CFX_PtrArray& splitResult, - CBC_QRCoderBitVector& headerAndDataBits, - CBC_QRCoderMode* tempMode, - CBC_QRCoder* qrCode, - CFX_ByteString& encoding, - int32_t& e); + static void MergeString(CFX_ArrayTemplate<Make_Pair*>* result, + int32_t versionNum, + int32_t& e); + static void SplitString(const CFX_ByteString& content, + CFX_ArrayTemplate<Make_Pair*>* result); + static void AppendDataModeLenghInfo( + const CFX_ArrayTemplate<Make_Pair*>& splitResult, + CBC_QRCoderBitVector& headerAndDataBits, + CBC_QRCoderMode* tempMode, + CBC_QRCoder* qrCode, + CFX_ByteString& encoding, + int32_t& e); }; #endif // XFA_FXBARCODE_QRCODE_BC_QRCODERENCODER_H_ |