| Index: xfa/fxbarcode/BC_TwoDimWriter.h
|
| diff --git a/xfa/fxbarcode/BC_TwoDimWriter.h b/xfa/fxbarcode/BC_TwoDimWriter.h
|
| index da2e6d9c4d4eca2cf95c475daad5d73d289e06de..76f176bfafd595f5c239c0aee2c4c17a56c81755 100644
|
| --- a/xfa/fxbarcode/BC_TwoDimWriter.h
|
| +++ b/xfa/fxbarcode/BC_TwoDimWriter.h
|
| @@ -7,6 +7,8 @@
|
| #ifndef XFA_FXBARCODE_BC_TWODIMWRITER_H_
|
| #define XFA_FXBARCODE_BC_TWODIMWRITER_H_
|
|
|
| +#include <memory>
|
| +
|
| #include "xfa/fxbarcode/BC_Writer.h"
|
|
|
| class CBC_CommonBitMatrix;
|
| @@ -25,12 +27,13 @@ class CBC_TwoDimWriter : public CBC_Writer {
|
| virtual void RenderDeviceResult(CFX_RenderDevice* device,
|
| const CFX_Matrix* matrix);
|
| virtual FX_BOOL SetErrorCorrectionLevel(int32_t level) = 0;
|
| - virtual int32_t GetErrorCorrectionLevel();
|
| +
|
| + int32_t GetErrorCorrectionLevel() const;
|
|
|
| protected:
|
| int32_t m_iCorrectLevel;
|
| FX_BOOL m_bFixedSize;
|
| - CBC_CommonBitMatrix* m_output;
|
| + std::unique_ptr<CBC_CommonBitMatrix> m_output;
|
| };
|
|
|
| #endif // XFA_FXBARCODE_BC_TWODIMWRITER_H_
|
|
|