diff options
Diffstat (limited to 'fxbarcode/datamatrix/BC_TextEncoder.cpp')
-rw-r--r-- | fxbarcode/datamatrix/BC_TextEncoder.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fxbarcode/datamatrix/BC_TextEncoder.cpp b/fxbarcode/datamatrix/BC_TextEncoder.cpp index a521acb6c3..53f92c3d28 100644 --- a/fxbarcode/datamatrix/BC_TextEncoder.cpp +++ b/fxbarcode/datamatrix/BC_TextEncoder.cpp @@ -20,6 +20,8 @@ * limitations under the License. */ +#include "fxbarcode/datamatrix/BC_TextEncoder.h" + #include "fxbarcode/BC_Dimension.h" #include "fxbarcode/common/BC_CommonBitMatrix.h" #include "fxbarcode/datamatrix/BC_C40Encoder.h" @@ -28,7 +30,6 @@ #include "fxbarcode/datamatrix/BC_HighLevelEncoder.h" #include "fxbarcode/datamatrix/BC_SymbolInfo.h" #include "fxbarcode/datamatrix/BC_SymbolShapeHint.h" -#include "fxbarcode/datamatrix/BC_TextEncoder.h" CBC_TextEncoder::CBC_TextEncoder() {} CBC_TextEncoder::~CBC_TextEncoder() {} @@ -92,6 +93,6 @@ int32_t CBC_TextEncoder::encodeChar(wchar_t c, CFX_WideString& sb, int32_t& e) { return -1; return len; } - CBC_HighLevelEncoder::illegalCharacter(c, e); + e = BCExceptionIllegalArgument; return -1; } |