From 77d148d54a44a4ed757be2d52ec37685d818a9be Mon Sep 17 00:00:00 2001 From: thestig Date: Wed, 6 Apr 2016 06:28:31 -0700 Subject: Mark FPDF_BStr_* with DLLEXPORT / STDCALL. BUG=pdfium:464 Review URL: https://codereview.chromium.org/1859303002 --- fpdfsdk/include/fsdk_mgr.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'fpdfsdk/include') diff --git a/fpdfsdk/include/fsdk_mgr.h b/fpdfsdk/include/fsdk_mgr.h index 39edc38f57..3d691c1f2d 100644 --- a/fpdfsdk/include/fsdk_mgr.h +++ b/fpdfsdk/include/fsdk_mgr.h @@ -334,14 +334,14 @@ class CPDFDoc_Environment final { FPDF_WIDESTRING header = (FPDF_WIDESTRING)bsHeader.GetBuffer(bsHeader.GetLength()); - FPDF_BSTR respone; - FPDF_BStr_Init(&respone); + FPDF_BSTR response; + FPDF_BStr_Init(&response); m_pInfo->FFI_PostRequestURL(m_pInfo, URL, data, contentType, encode, - header, &respone); + header, &response); CFX_WideString wsRet = CFX_WideString::FromUTF16LE( - (unsigned short*)respone.str, respone.len / sizeof(unsigned short)); - FPDF_BStr_Clear(&respone); + (unsigned short*)response.str, response.len / sizeof(unsigned short)); + FPDF_BStr_Clear(&response); return wsRet; } -- cgit v1.2.3