diff options
author | Lei Zhang <thestig@chromium.org> | 2015-12-28 13:07:50 -0800 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-12-28 13:07:50 -0800 |
commit | de0387c3690ca147482ed943c70eeb828b6dd732 (patch) | |
tree | 7dc479d89d2b30c58cb54f2ff8dc2ab070fc4b2e /fpdfsdk/src/formfiller | |
parent | 1f1c1970259b696a9b1e5ca1a3c199f221846409 (diff) | |
download | pdfium-de0387c3690ca147482ed943c70eeb828b6dd732.tar.xz |
Take care fall-through cases of switch in pdfium
Found with Clang's -Wimplicit-fallthrough option by tzik@chromium.org.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1549283002 .
Diffstat (limited to 'fpdfsdk/src/formfiller')
-rw-r--r-- | fpdfsdk/src/formfiller/FFL_FormFiller.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fpdfsdk/src/formfiller/FFL_FormFiller.cpp b/fpdfsdk/src/formfiller/FFL_FormFiller.cpp index 2e0451c0f6..ae99edbf87 100644 --- a/fpdfsdk/src/formfiller/FFL_FormFiller.cpp +++ b/fpdfsdk/src/formfiller/FFL_FormFiller.cpp @@ -273,8 +273,10 @@ void CFFL_FormFiller::KillFocusForAnnot(CPDFSDK_Annot* pAnnot, FX_UINT nFlag) { case FIELDTYPE_CHECKBOX: case FIELDTYPE_RADIOBUTTON: bDestroyPDFWindow = TRUE; + break; default: bDestroyPDFWindow = FALSE; + break; } EscapeFiller(pPageView, bDestroyPDFWindow); } |