Index: xfa/fxfa/app/xfa_ffimageedit.cpp |
diff --git a/xfa/fxfa/app/xfa_ffimageedit.cpp b/xfa/fxfa/app/xfa_ffimageedit.cpp |
index 344dfcddd97be4f4f98067dd3725bdfd5651d61f..18af17167784a4fc6db025e897d2012f2d68d19e 100644 |
--- a/xfa/fxfa/app/xfa_ffimageedit.cpp |
+++ b/xfa/fxfa/app/xfa_ffimageedit.cpp |
@@ -140,7 +140,7 @@ FX_BOOL CXFA_FFImageEdit::OnLButtonDown(uint32_t dwFlags, |
pFileRead->ReadBlock(pImageBuffer, 0, nDataSize); |
bsBuf.ReleaseBuffer(); |
if (!bsBuf.IsEmpty()) { |
- FX_CHAR* pData = XFA_Base64Encode(bsBuf, nDataSize); |
+ FX_CHAR* pData = XFA_Base64Encode(bsBuf.raw_str(), nDataSize); |
wsImage = CFX_WideString::FromLocal(pData); |
FX_Free(pData); |
} |