summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdfxfa/cpdfxfa_page.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/fpdfxfa/cpdfxfa_page.cpp')
-rw-r--r--fpdfsdk/fpdfxfa/cpdfxfa_page.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/fpdfsdk/fpdfxfa/cpdfxfa_page.cpp b/fpdfsdk/fpdfxfa/cpdfxfa_page.cpp
index c3d5e18707..d4a6d95574 100644
--- a/fpdfsdk/fpdfxfa/cpdfxfa_page.cpp
+++ b/fpdfsdk/fpdfxfa/cpdfxfa_page.cpp
@@ -130,7 +130,7 @@ void CPDFXFA_Page::DeviceToPage(const FX_RECT& rect,
int rotate,
const CFX_PointF& device_point,
double* page_x,
- double* page_y) {
+ double* page_y) const {
if (!m_pPDFPage && !m_pXFAPageView)
return;
@@ -145,7 +145,7 @@ void CPDFXFA_Page::PageToDevice(const FX_RECT& rect,
double page_x,
double page_y,
int* device_x,
- int* device_y) {
+ int* device_y) const {
if (!m_pPDFPage && !m_pXFAPageView)
return;