From 512adc5d1b8ad634278e659b1704fd90c358dca3 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Tue, 9 Oct 2018 19:15:35 +0000 Subject: Mark more bits const in CPDFSDK_XFAWidget. Change-Id: Ib262eafc73751890a95fb60a5c8d880e9c6792af Reviewed-on: https://pdfium-review.googlesource.com/c/43615 Reviewed-by: Henrique Nakashima Commit-Queue: Lei Zhang --- fpdfsdk/cpdfsdk_xfawidget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fpdfsdk/cpdfsdk_xfawidget.cpp') diff --git a/fpdfsdk/cpdfsdk_xfawidget.cpp b/fpdfsdk/cpdfsdk_xfawidget.cpp index af08023ef8..7c9089a29a 100644 --- a/fpdfsdk/cpdfsdk_xfawidget.cpp +++ b/fpdfsdk/cpdfsdk_xfawidget.cpp @@ -16,9 +16,9 @@ CPDFSDK_XFAWidget::CPDFSDK_XFAWidget(CXFA_FFWidget* pAnnot, m_pInterForm(pInterForm), m_hXFAWidget(pAnnot) {} -CPDFSDK_XFAWidget::~CPDFSDK_XFAWidget() {} +CPDFSDK_XFAWidget::~CPDFSDK_XFAWidget() = default; -bool CPDFSDK_XFAWidget::IsXFAField() { +bool CPDFSDK_XFAWidget::IsXFAField() const { return true; } -- cgit v1.2.3