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

Unified Diff: xfa/fxbarcode/oned/BC_OnedCodaBarWriter.cpp

Issue 1857073002: Make down-conversion explicit from CFX_Widetring to CFX_WideStringC. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: String argument type Created 4 years, 8 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 | « xfa/fxbarcode/cbc_upca.cpp ('k') | xfa/fxbarcode/oned/BC_OnedCode39Writer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fxbarcode/oned/BC_OnedCodaBarWriter.cpp
diff --git a/xfa/fxbarcode/oned/BC_OnedCodaBarWriter.cpp b/xfa/fxbarcode/oned/BC_OnedCodaBarWriter.cpp
index 81f0339aa8ebb035e0407e09f779bbe23fdba368..3fbeb1c318236833e383e20e2e6ceb627a23bc48 100644
--- a/xfa/fxbarcode/oned/BC_OnedCodaBarWriter.cpp
+++ b/xfa/fxbarcode/oned/BC_OnedCodaBarWriter.cpp
@@ -226,6 +226,6 @@ void CBC_OnedCodaBarWriter::RenderResult(const CFX_WideStringC& contents,
int32_t codeLength,
FX_BOOL isDevice,
int32_t& e) {
- CBC_OneDimWriter::RenderResult(encodedContents(contents), code, codeLength,
- isDevice, e);
+ CBC_OneDimWriter::RenderResult(encodedContents(contents).AsWideStringC(),
+ code, codeLength, isDevice, e);
}
« no previous file with comments | « xfa/fxbarcode/cbc_upca.cpp ('k') | xfa/fxbarcode/oned/BC_OnedCode39Writer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698