summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-23 17:29:10 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-10-24 09:24:58 +0100
commit927603576a8021fc1ce984ff6230fdda95b10517 (patch)
tree3c22389b9623fcb118541b322f64d4b089cca2dc
parentc2f4c300ec70fab27a31c1709837c90680eefede (diff)
coverity#1130394 Missing break in switch
Change-Id: I44d08e9ff9591afba1d0ceb3980292d62729d392
-rw-r--r--sw/source/filter/html/htmlform.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/filter/html/htmlform.cxx b/sw/source/filter/html/htmlform.cxx
index b4353db683bb..cbd2e2f112d2 100644
--- a/sw/source/filter/html/htmlform.cxx
+++ b/sw/source/filter/html/htmlform.cxx
@@ -2228,6 +2228,7 @@ void SwHTMLParser::NewSelect()
case HTML_O_SDONFOCUS:
eScriptType2 = STARBASIC;
+ //fall-through
case HTML_O_ONFOCUS:
nEvent = HTML_ET_ONGETFOCUS;
bSetEvent = true;
@@ -2235,6 +2236,7 @@ void SwHTMLParser::NewSelect()
case HTML_O_SDONBLUR:
eScriptType2 = STARBASIC;
+ //fall-through
case HTML_O_ONBLUR:
nEvent = HTML_ET_ONLOSEFOCUS;
bSetEvent = true;
@@ -2242,6 +2244,7 @@ void SwHTMLParser::NewSelect()
case HTML_O_SDONCLICK:
eScriptType2 = STARBASIC;
+ //fall-through
case HTML_O_ONCLICK:
nEvent = HTML_ET_ONCLICK;
bSetEvent = true;
@@ -2249,6 +2252,7 @@ void SwHTMLParser::NewSelect()
case HTML_O_SDONCHANGE:
eScriptType2 = STARBASIC;
+ //fall-through
case HTML_O_ONCHANGE:
nEvent = HTML_ET_ONCHANGE;
bSetEvent = true;