Merge to XFA: Remove typdefs for pointer types in fx_system.h.
[pdfium.git] / xfa / src / fxfa / src / app / xfa_ffimageedit.cpp
index 0174ee7..21bd958 100644 (file)
@@ -132,11 +132,11 @@ FX_BOOL CXFA_FFImageEdit::OnLButtonDown(FX_DWORD dwFlags, FX_FLOAT fx, FX_FLOAT
         int32_t nDataSize = pFileRead->GetSize();\r
         if (nDataSize > 0) {\r
             CFX_ByteString bsBuf;\r
-            FX_LPSTR pImageBuffer = bsBuf.GetBuffer(nDataSize);\r
+            FX_CHAR* pImageBuffer = bsBuf.GetBuffer(nDataSize);\r
             pFileRead->ReadBlock(pImageBuffer, 0, nDataSize);\r
             bsBuf.ReleaseBuffer();\r
             if (!bsBuf.IsEmpty()) {\r
-                FX_LPSTR pData = XFA_Base64Encode(bsBuf, nDataSize);\r
+                FX_CHAR* pData = XFA_Base64Encode(bsBuf, nDataSize);\r
                 wsImage = CFX_WideString::FromLocal(pData);\r
                 if (pData != NULL) {\r
                     FX_Free(pData);\r