summaryrefslogtreecommitdiff
path: root/fpdfsdk/src
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-04-27 13:12:53 -0700
committerTom Sepez <tsepez@chromium.org>2015-04-27 13:12:53 -0700
commit99ee3d3527bc00f83f01e1db007d190a6b3458f5 (patch)
tree87060761e69afb7521bdc8b05aba405ce730bab1 /fpdfsdk/src
parente6f11a7b95e26affba59a7057776a787056af8df (diff)
downloadpdfium-99ee3d3527bc00f83f01e1db007d190a6b3458f5.tar.xz
Fix windows-specific usage of CFX_WideStr::operator LPCWSTR().
Carry-on from https://codereview.chromium.org/1108903002/ R=brucedawson@chromium.org Review URL: https://codereview.chromium.org/1103343002
Diffstat (limited to 'fpdfsdk/src')
-rw-r--r--fpdfsdk/src/fsdk_baseform.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/src/fsdk_baseform.cpp b/fpdfsdk/src/fsdk_baseform.cpp
index 123af9f714..9ab61843b8 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();