| Index: fpdfsdk/src/fsdk_baseform.cpp
|
| diff --git a/fpdfsdk/src/fsdk_baseform.cpp b/fpdfsdk/src/fsdk_baseform.cpp
|
| index 123af9f714a8d877e953d1e1439cbd54d44108c8..9ab61843b8b14d60682ceb90efffc4ede337ceac 100644
|
| --- a/fpdfsdk/src/fsdk_baseform.cpp
|
| +++ b/fpdfsdk/src/fsdk_baseform.cpp
|
| @@ -1862,7 +1862,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();
|
|
|