summaryrefslogtreecommitdiff
path: root/fpdfsdk/cpdfsdk_baannot.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-12-11 14:34:58 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-12-11 14:34:58 +0000
commit4ecf9a855205d33491adf59c86e81548321542ee (patch)
treee1222f087667ead2242c278067b94bf7a82ece62 /fpdfsdk/cpdfsdk_baannot.cpp
parent69f2156c87da65a5e53e7d1197cec9c0ca431a40 (diff)
downloadpdfium-4ecf9a855205d33491adf59c86e81548321542ee.tar.xz
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 <dsinclair@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/cpdfsdk_baannot.cpp')
-rw-r--r--fpdfsdk/cpdfsdk_baannot.cpp2
1 files changed, 1 insertions, 1 deletions
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) {