From ac8c3b6ddc4ea3e5c0f365db6951a4c9bb406a57 Mon Sep 17 00:00:00 2001 From: Jun Fang Date: Thu, 10 Dec 2015 22:10:20 -0800 Subject: Fix compiling warnings on Linux (part2) BUG=pdfium:261 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1500313002 . --- xfa/src/fxbarcode/datamatrix/BC_DataMatrixWriter.cpp | 15 --------------- xfa/src/fxbarcode/datamatrix/BC_DataMatrixWriter.h | 11 ----------- 2 files changed, 26 deletions(-) (limited to 'xfa/src/fxbarcode/datamatrix') diff --git a/xfa/src/fxbarcode/datamatrix/BC_DataMatrixWriter.cpp b/xfa/src/fxbarcode/datamatrix/BC_DataMatrixWriter.cpp index 408a5980ff..25438f389a 100644 --- a/xfa/src/fxbarcode/datamatrix/BC_DataMatrixWriter.cpp +++ b/xfa/src/fxbarcode/datamatrix/BC_DataMatrixWriter.cpp @@ -86,21 +86,6 @@ uint8_t* CBC_DataMatrixWriter::Encode(const CFX_WideString& contents, delete placement; return result; } -uint8_t* CBC_DataMatrixWriter::Encode(const CFX_ByteString& contents, - BCFORMAT format, - int32_t& outWidth, - int32_t& outHeight, - int32_t& e) { - return NULL; -} -uint8_t* CBC_DataMatrixWriter::Encode(const CFX_ByteString& contents, - BCFORMAT format, - int32_t& outWidth, - int32_t& outHeight, - int32_t hints, - int32_t& e) { - return NULL; -} CBC_CommonByteMatrix* CBC_DataMatrixWriter::encodeLowLevel( CBC_DefaultPlacement* placement, CBC_SymbolInfo* symbolInfo, diff --git a/xfa/src/fxbarcode/datamatrix/BC_DataMatrixWriter.h b/xfa/src/fxbarcode/datamatrix/BC_DataMatrixWriter.h index 808e35f11f..4c74205f2c 100644 --- a/xfa/src/fxbarcode/datamatrix/BC_DataMatrixWriter.h +++ b/xfa/src/fxbarcode/datamatrix/BC_DataMatrixWriter.h @@ -21,17 +21,6 @@ class CBC_DataMatrixWriter : public CBC_TwoDimWriter { int32_t& outWidth, int32_t& outHeight, int32_t& e); - uint8_t* Encode(const CFX_ByteString& contents, - BCFORMAT format, - int32_t& outWidth, - int32_t& outHeight, - int32_t& e); - uint8_t* Encode(const CFX_ByteString& contents, - BCFORMAT format, - int32_t& outWidth, - int32_t& outHeight, - int32_t hints, - int32_t& e); FX_BOOL SetErrorCorrectionLevel(int32_t level); private: -- cgit v1.2.3