| Index: fpdfsdk/src/fsdk_baseform.cpp
|
| diff --git a/fpdfsdk/src/fsdk_baseform.cpp b/fpdfsdk/src/fsdk_baseform.cpp
|
| index f98939441d2a47484b0f3a303cbe344f9bcb4850..976d276e8d305b00b7ced4516648a65c0963aa3f 100644
|
| --- a/fpdfsdk/src/fsdk_baseform.cpp
|
| +++ b/fpdfsdk/src/fsdk_baseform.cpp
|
| @@ -2630,7 +2630,7 @@ CPDF_Stream* CPDFSDK_InterForm::LoadImageFromFile(const CFX_WideString& sFile)
|
|
|
| CPDF_Stream* pRetStream = NULL;
|
|
|
| - if (CFX_DIBitmap* pBmp = CFX_WindowsDIB::LoadFromFile(sFile))
|
| + if (CFX_DIBitmap* pBmp = CFX_WindowsDIB::LoadFromFile(sFile.c_str()))
|
| {
|
| int nWidth = pBmp->GetWidth();
|
| int nHeight = pBmp->GetHeight();
|
|
|