diff options
Diffstat (limited to 'fpdfsdk/fpdfdoc.cpp')
-rw-r--r-- | fpdfsdk/fpdfdoc.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fpdfsdk/fpdfdoc.cpp b/fpdfsdk/fpdfdoc.cpp index f7d94c2f97..39c7602565 100644 --- a/fpdfsdk/fpdfdoc.cpp +++ b/fpdfsdk/fpdfdoc.cpp @@ -258,9 +258,9 @@ DLLEXPORT FPDF_LINK STDCALL FPDFLink_GetLinkAtPoint(FPDF_PAGE page, return nullptr; return pLinkList - ->GetLinkAtPoint( - pPage, CFX_PointF(static_cast<FX_FLOAT>(x), static_cast<FX_FLOAT>(y)), - nullptr) + ->GetLinkAtPoint(pPage, + CFX_PointF(static_cast<float>(x), static_cast<float>(y)), + nullptr) .GetDict(); } @@ -277,7 +277,7 @@ DLLEXPORT int STDCALL FPDFLink_GetLinkZOrderAtPoint(FPDF_PAGE page, int z_order = -1; pLinkList->GetLinkAtPoint( - pPage, CFX_PointF(static_cast<FX_FLOAT>(x), static_cast<FX_FLOAT>(y)), + pPage, CFX_PointF(static_cast<float>(x), static_cast<float>(y)), &z_order); return z_order; } |