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

Unified Diff: xfa/fxbarcode/BC_BufferedImageLuminanceSource.cpp

Issue 1882043004: Remove implicit cast from CFX_WideString to (const wchar_t*) (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: win error #2 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/fwl/theme/cfwl_widgettp.cpp ('k') | xfa/fxfa/app/xfa_ffdoc.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fxbarcode/BC_BufferedImageLuminanceSource.cpp
diff --git a/xfa/fxbarcode/BC_BufferedImageLuminanceSource.cpp b/xfa/fxbarcode/BC_BufferedImageLuminanceSource.cpp
index 644bb571c08d9528b960a890b232d8b4a9395af5..c39d3c6eb0b22de70b182d259becb3f1ad2d51ff 100644
--- a/xfa/fxbarcode/BC_BufferedImageLuminanceSource.cpp
+++ b/xfa/fxbarcode/BC_BufferedImageLuminanceSource.cpp
@@ -99,7 +99,7 @@ CBC_BufferedImageLuminanceSource::CBC_BufferedImageLuminanceSource(
}
void CBC_BufferedImageLuminanceSource::Init(int32_t& e) {
- IFX_FileRead* fileread = FX_CreateFileRead(m_filename);
+ IFX_FileRead* fileread = FX_CreateFileRead(m_filename.c_str());
m_pBitmap = CreateDIBSource(fileread);
if (!m_pBitmap) {
e = BCExceptionLoadFile;
« no previous file with comments | « xfa/fwl/theme/cfwl_widgettp.cpp ('k') | xfa/fxfa/app/xfa_ffdoc.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698