summaryrefslogtreecommitdiff
path: root/fpdfsdk/include
diff options
context:
space:
mode:
authorthestig <thestig@chromium.org>2016-04-06 06:28:31 -0700
committerCommit bot <commit-bot@chromium.org>2016-04-06 06:28:31 -0700
commit77d148d54a44a4ed757be2d52ec37685d818a9be (patch)
tree09d2081d644d6ef6d4b3b2b2f5db37aeb207d6ee /fpdfsdk/include
parent660956f58af305d72c64bb87c05f694469846df2 (diff)
downloadpdfium-77d148d54a44a4ed757be2d52ec37685d818a9be.tar.xz
Mark FPDF_BStr_* with DLLEXPORT / STDCALL.
BUG=pdfium:464 Review URL: https://codereview.chromium.org/1859303002
Diffstat (limited to 'fpdfsdk/include')
-rw-r--r--fpdfsdk/include/fsdk_mgr.h10
1 files changed, 5 insertions, 5 deletions
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;
}