From 4ecf9a855205d33491adf59c86e81548321542ee Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Mon, 11 Dec 2017 14:34:58 +0000 Subject: Get rid of default ctors for CPDF_Action and CPDF_AAction. Change-Id: I45bac6e1b3fb9ae90feff1dc65c716beb2cab4c4 Reviewed-on: https://pdfium-review.googlesource.com/20771 Commit-Queue: dsinclair Reviewed-by: dsinclair --- fpdfsdk/cpdfsdk_baannot.cpp | 2 +- fpdfsdk/cpdfsdk_widget.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'fpdfsdk') diff --git a/fpdfsdk/cpdfsdk_baannot.cpp b/fpdfsdk/cpdfsdk_baannot.cpp index c551fee799..a1578804cf 100644 --- a/fpdfsdk/cpdfsdk_baannot.cpp +++ b/fpdfsdk/cpdfsdk_baannot.cpp @@ -346,7 +346,7 @@ CPDF_Action CPDFSDK_BAAnnot::GetAAction(CPDF_AAction::AActionType eAAT) { if (eAAT == CPDF_AAction::ButtonUp) return GetAction(); - return CPDF_Action(); + return CPDF_Action(nullptr); } void CPDFSDK_BAAnnot::SetOpenState(bool bOpenState) { diff --git a/fpdfsdk/cpdfsdk_widget.cpp b/fpdfsdk/cpdfsdk_widget.cpp index 65b75ca844..ff82283516 100644 --- a/fpdfsdk/cpdfsdk_widget.cpp +++ b/fpdfsdk/cpdfsdk_widget.cpp @@ -1030,7 +1030,7 @@ CPDF_Action CPDFSDK_Widget::GetAAction(CPDF_AAction::AActionType eAAT) { break; } - return CPDF_Action(); + return CPDF_Action(nullptr); } WideString CPDFSDK_Widget::GetAlternateName() const { -- cgit v1.2.3