summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdf_searchex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/fpdf_searchex.cpp')
-rw-r--r--fpdfsdk/fpdf_searchex.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/fpdfsdk/fpdf_searchex.cpp b/fpdfsdk/fpdf_searchex.cpp
index 9d48cebf8a..13729167ed 100644
--- a/fpdfsdk/fpdf_searchex.cpp
+++ b/fpdfsdk/fpdf_searchex.cpp
@@ -8,7 +8,7 @@
#include "core/fpdftext/cpdf_textpage.h"
-FPDF_EXPORT int FPDF_CALLCONV
+DLLEXPORT int STDCALL
FPDFText_GetCharIndexFromTextIndex(FPDF_TEXTPAGE text_page, int nTextIndex) {
if (!text_page)
return -1;
@@ -16,7 +16,7 @@ FPDFText_GetCharIndexFromTextIndex(FPDF_TEXTPAGE text_page, int nTextIndex) {
->CharIndexFromTextIndex(nTextIndex);
}
-FPDF_EXPORT int FPDF_CALLCONV
+DLLEXPORT int STDCALL
FPDFText_GetTextIndexFromCharIndex(FPDF_TEXTPAGE text_page, int nCharIndex) {
if (!text_page)
return -1;