summaryrefslogtreecommitdiff
path: root/fpdfsdk/cpdfsdk_widget.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-09-14 18:26:26 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-09-15 02:03:25 +0000
commit69fe7110e6af83ca82d71275a70ae4983daddd6f (patch)
tree949485a0a401a14b9d90876cd5c277f4f7a911fa /fpdfsdk/cpdfsdk_widget.cpp
parentb1f9205bb1a0671c31e44e7362784c770bf2a948 (diff)
downloadpdfium-69fe7110e6af83ca82d71275a70ae4983daddd6f.tar.xz
Make static const char* arrays more const.
Change-Id: I87b5e6cefe973b82b4868e56fc5285c95c53a12b Reviewed-on: https://pdfium-review.googlesource.com/12550 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'fpdfsdk/cpdfsdk_widget.cpp')
-rw-r--r--fpdfsdk/cpdfsdk_widget.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/fpdfsdk/cpdfsdk_widget.cpp b/fpdfsdk/cpdfsdk_widget.cpp
index e21ce73167..60a4d52657 100644
--- a/fpdfsdk/cpdfsdk_widget.cpp
+++ b/fpdfsdk/cpdfsdk_widget.cpp
@@ -164,11 +164,8 @@ static XFA_EVENTTYPE GetXFAEventType(CPDF_AAction::AActionType eAAT,
eEventType = XFA_EVENT_Exit;
break;
case CPDF_AAction::PageOpen:
- break;
case CPDF_AAction::PageClose:
- break;
case CPDF_AAction::PageVisible:
- break;
case CPDF_AAction::PageInvisible:
break;
case CPDF_AAction::KeyStroke:
@@ -188,6 +185,9 @@ static XFA_EVENTTYPE GetXFAEventType(CPDF_AAction::AActionType eAAT,
case CPDF_AAction::PrintDocument:
case CPDF_AAction::DocumentPrinted:
break;
+ case CPDF_AAction::NumberOfActions:
+ NOTREACHED();
+ break;
}
return eEventType;