summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/formfiller
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-12-28 13:12:26 -0800
committerLei Zhang <thestig@chromium.org>2015-12-28 13:12:26 -0800
commitd77f03faf713c071846cf178b3cf801b230db930 (patch)
treefced98fa87386240e495e8cc31463067b7f6e311 /fpdfsdk/src/formfiller
parent6b37a5fd73775bb35d26dff5a00f0f1a3f0f582b (diff)
downloadpdfium-d77f03faf713c071846cf178b3cf801b230db930.tar.xz
Merge to XFA: Take care fall-through cases of switch in pdfium
Found with Clang's -Wimplicit-fallthrough option by tzik@chromium.org. TBR=tzik@chromium.org Review URL: https://codereview.chromium.org/1549283002 . (cherry picked from commit de0387c3690ca147482ed943c70eeb828b6dd732) Review URL: https://codereview.chromium.org/1554453002 .
Diffstat (limited to 'fpdfsdk/src/formfiller')
-rw-r--r--fpdfsdk/src/formfiller/FFL_FormFiller.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/fpdfsdk/src/formfiller/FFL_FormFiller.cpp b/fpdfsdk/src/formfiller/FFL_FormFiller.cpp
index 0e74d91fab..a903824c6a 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);
}