| Index: fpdfsdk/fpdfdoc.cpp
|
| diff --git a/fpdfsdk/src/fpdfdoc.cpp b/fpdfsdk/fpdfdoc.cpp
|
| similarity index 95%
|
| rename from fpdfsdk/src/fpdfdoc.cpp
|
| rename to fpdfsdk/fpdfdoc.cpp
|
| index a6d09b70cfb808450c3083d5c6909dfe7887da88..9fa9f4fcabb7bef981185e6f07ae9711ec56f624 100644
|
| --- a/fpdfsdk/src/fpdfdoc.cpp
|
| +++ b/fpdfsdk/fpdfdoc.cpp
|
| @@ -174,8 +174,9 @@ DLLEXPORT FPDF_DEST STDCALL FPDFAction_GetDest(FPDF_DOCUMENT document,
|
| return action.GetDest(pDoc).GetObject();
|
| }
|
|
|
| -DLLEXPORT unsigned long STDCALL
|
| -FPDFAction_GetFilePath(FPDF_ACTION pDict, void* buffer, unsigned long buflen) {
|
| +DLLEXPORT unsigned long STDCALL FPDFAction_GetFilePath(FPDF_ACTION pDict,
|
| + void* buffer,
|
| + unsigned long buflen) {
|
| unsigned long type = FPDFAction_GetType(pDict);
|
| if (type != PDFACTION_REMOTEGOTO && type != PDFACTION_LAUNCH)
|
| return 0;
|
| @@ -216,8 +217,9 @@ DLLEXPORT unsigned long STDCALL FPDFDest_GetPageIndex(FPDF_DOCUMENT document,
|
| return dest.GetPageIndex(pDoc);
|
| }
|
|
|
| -DLLEXPORT FPDF_LINK STDCALL
|
| -FPDFLink_GetLinkAtPoint(FPDF_PAGE page, double x, double y) {
|
| +DLLEXPORT FPDF_LINK STDCALL FPDFLink_GetLinkAtPoint(FPDF_PAGE page,
|
| + double x,
|
| + double y) {
|
| CPDF_Page* pPage = CPDFPageFromFPDFPage(page);
|
| if (!pPage)
|
| return nullptr;
|
| @@ -230,8 +232,9 @@ FPDFLink_GetLinkAtPoint(FPDF_PAGE page, double x, double y) {
|
| .GetDict();
|
| }
|
|
|
| -DLLEXPORT int STDCALL
|
| -FPDFLink_GetLinkZOrderAtPoint(FPDF_PAGE page, double x, double y) {
|
| +DLLEXPORT int STDCALL FPDFLink_GetLinkZOrderAtPoint(FPDF_PAGE page,
|
| + double x,
|
| + double y) {
|
| CPDF_Page* pPage = CPDFPageFromFPDFPage(page);
|
| if (!pPage)
|
| return -1;
|
|
|