Index: xfa/fxfa/app/xfa_ffimageedit.cpp |
diff --git a/xfa/fxfa/app/xfa_ffimageedit.cpp b/xfa/fxfa/app/xfa_ffimageedit.cpp |
index 18af17167784a4fc6db025e897d2012f2d68d19e..b56f24d3669376da0ef70cf26f2a2e7cea3da8b0 100644 |
--- a/xfa/fxfa/app/xfa_ffimageedit.cpp |
+++ b/xfa/fxfa/app/xfa_ffimageedit.cpp |
@@ -131,7 +131,7 @@ FX_BOOL CXFA_FFImageEdit::OnLButtonDown(uint32_t dwFlags, |
return TRUE; |
} |
CFX_WideString wsImage; |
- IFX_FileRead* pFileRead = FX_CreateFileRead(wsFilePath); |
+ IFX_FileRead* pFileRead = FX_CreateFileRead(wsFilePath.c_str()); |
if (pFileRead) { |
int32_t nDataSize = pFileRead->GetSize(); |
if (nDataSize > 0) { |