diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-31 16:56:17 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-31 17:04:40 +0100 |
commit | 1f4a6d5526afc856496f462915e6386f78c44143 (patch) | |
tree | 123866a907de9b157ebc7730daefeda8dfc11e6b | |
parent | 1e68d390229d1e446d1b77b395a70fa636cf5373 (diff) |
coverity#1130391 Missing break in switch
Change-Id: If6202788224b59de7bb6db7a17ab2061c1f6f771
-rw-r--r-- | sw/source/filter/html/htmlform.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/filter/html/htmlform.cxx b/sw/source/filter/html/htmlform.cxx index 90b5dcd7096a..d05fd3384b25 100644 --- a/sw/source/filter/html/htmlform.cxx +++ b/sw/source/filter/html/htmlform.cxx @@ -1337,6 +1337,7 @@ void SwHTMLParser::NewForm( sal_Bool bAppend ) case HTML_O_SDONSUBMIT: eScriptType2 = STARBASIC; + //fallthrough case HTML_O_ONSUBMIT: nEvent = HTML_ET_ONSUBMITFORM; bSetEvent = sal_True; @@ -1344,6 +1345,7 @@ void SwHTMLParser::NewForm( sal_Bool bAppend ) case HTML_O_SDONRESET: eScriptType2 = STARBASIC; + //fallthrough case HTML_O_ONRESET: nEvent = HTML_ET_ONRESETFORM; bSetEvent = sal_True; |