summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdf_ext.cpp
diff options
context:
space:
mode:
authorthestig <thestig@chromium.org>2016-05-23 09:11:54 -0700
committerCommit bot <commit-bot@chromium.org>2016-05-23 09:11:54 -0700
commita55880db9272d2ad98ce600efbf068408e8fcf15 (patch)
treeb44f0dcc925e6cf5eb104e96c87d93bdddad2180 /fpdfsdk/fpdf_ext.cpp
parentb8bf55f73390a9460ec13dbffcf5d22819f9aa12 (diff)
downloadpdfium-a55880db9272d2ad98ce600efbf068408e8fcf15.tar.xz
Add missing STDCALL for FPDFDoc_GetPageMode().
BUG=pdfium:498 Review-Url: https://codereview.chromium.org/2004703002
Diffstat (limited to 'fpdfsdk/fpdf_ext.cpp')
-rw-r--r--fpdfsdk/fpdf_ext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/fpdf_ext.cpp b/fpdfsdk/fpdf_ext.cpp
index 8a45a13e12..9bb54da594 100644
--- a/fpdfsdk/fpdf_ext.cpp
+++ b/fpdfsdk/fpdf_ext.cpp
@@ -191,7 +191,7 @@ void CheckUnSupportError(CPDF_Document* pDoc, uint32_t err_code) {
#endif // PDF_ENABLE_XFA
}
-DLLEXPORT int FPDFDoc_GetPageMode(FPDF_DOCUMENT document) {
+DLLEXPORT int STDCALL FPDFDoc_GetPageMode(FPDF_DOCUMENT document) {
CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document);
if (!pDoc)
return PAGEMODE_UNKNOWN;