Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1895)

Unified Diff: xfa/src/fxbarcode/src/BC_PDF417HighLevelEncoder.cpp

Issue 840903002: Unit test for 417HighLevelEncoder (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: GN Build Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pdfium.gyp ('k') | xfa/src/fxbarcode/src/BC_PDF417HighLevelEncoder_unittest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/src/fxbarcode/src/BC_PDF417HighLevelEncoder.cpp
diff --git a/xfa/src/fxbarcode/src/BC_PDF417HighLevelEncoder.cpp b/xfa/src/fxbarcode/src/BC_PDF417HighLevelEncoder.cpp
index fbea0b2a422f332c32c53f620c429fb44f56f8ba..61051060f600bd2735b04d48c62129ad53fcb1b0 100644
--- a/xfa/src/fxbarcode/src/BC_PDF417HighLevelEncoder.cpp
+++ b/xfa/src/fxbarcode/src/BC_PDF417HighLevelEncoder.cpp
@@ -52,12 +52,6 @@ void CBC_PDF417HighLevelEncoder::Initialize()
void CBC_PDF417HighLevelEncoder::Finalize()
{
}
-CBC_PDF417HighLevelEncoder::CBC_PDF417HighLevelEncoder()
-{
-}
-CBC_PDF417HighLevelEncoder::~CBC_PDF417HighLevelEncoder()
-{
-}
CFX_WideString CBC_PDF417HighLevelEncoder::encodeHighLevel(CFX_WideString wideMsg, Compaction compaction, FX_INT32 &e)
{
CFX_ByteString bytes;
@@ -150,16 +144,6 @@ void CBC_PDF417HighLevelEncoder::Inverse()
}
}
}
-CFX_ByteArray* CBC_PDF417HighLevelEncoder::getBytesForMessage(CFX_WideString msg)
-{
- CFX_ByteString bytestring;
- CBC_UtilCodingConvert::UnicodeToUTF8(msg, bytestring);
- CFX_ByteArray* bytearray = FX_NEW CFX_ByteArray;
- for (FX_INT32 i = 0; i < bytestring.GetLength(); i++) {
- bytearray->Add(bytestring.GetAt(i));
- }
- return bytearray;
-}
FX_INT32 CBC_PDF417HighLevelEncoder::encodeText(CFX_WideString msg, FX_INT32 startpos, FX_INT32 count, CFX_WideString &sb, FX_INT32 initialSubmode)
{
CFX_WideString tmp;
« no previous file with comments | « pdfium.gyp ('k') | xfa/src/fxbarcode/src/BC_PDF417HighLevelEncoder_unittest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698