| Index: xfa/fxfa/app/xfa_ffdoc.cpp
|
| diff --git a/xfa/fxfa/app/xfa_ffdoc.cpp b/xfa/fxfa/app/xfa_ffdoc.cpp
|
| index c83895c25e99de3fd737f1ba4667f55c3d4be7d2..27e779510aff06d48d56e429f000bf4a7acfd8a7 100644
|
| --- a/xfa/fxfa/app/xfa_ffdoc.cpp
|
| +++ b/xfa/fxfa/app/xfa_ffdoc.cpp
|
| @@ -87,10 +87,11 @@ FX_BOOL XFA_GetPDFContentsFromPDFXML(CFDE_XMLNode* pPDFElement,
|
| }
|
| CFX_WideString wsPDFContent;
|
| pChunkElement->GetTextData(wsPDFContent);
|
| - iBufferSize = FX_Base64DecodeW(wsPDFContent, wsPDFContent.GetLength(), NULL);
|
| + iBufferSize =
|
| + FX_Base64DecodeW(wsPDFContent.c_str(), wsPDFContent.GetLength(), NULL);
|
| pByteBuffer = FX_Alloc(uint8_t, iBufferSize + 1);
|
| pByteBuffer[iBufferSize] = '0'; // FIXME: I bet this is wrong.
|
| - FX_Base64DecodeW(wsPDFContent, wsPDFContent.GetLength(), pByteBuffer);
|
| + FX_Base64DecodeW(wsPDFContent.c_str(), wsPDFContent.GetLength(), pByteBuffer);
|
| return TRUE;
|
| }
|
| void XFA_XPDPacket_MergeRootNode(CXFA_Node* pOriginRoot, CXFA_Node* pNewRoot) {
|
|
|