summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-11 15:49:18 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-11 20:21:50 +0000
commit01ed55a47ab323d2cbf98398e65a00b509053269 (patch)
tree26e4085cb549426be67bbe29d0b45d99283fe193
parentcoverity#1130385 Missing break in switch (diff)
downloadcore-01ed55a47ab323d2cbf98398e65a00b509053269.tar.gz
core-01ed55a47ab323d2cbf98398e65a00b509053269.zip
coverity#1130384 Missing break in switch
Change-Id: I0c73bd07a96ae45ee59669633d6b98cd5861c2b6
-rw-r--r--sw/source/filter/html/htmlgrin.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/source/filter/html/htmlgrin.cxx b/sw/source/filter/html/htmlgrin.cxx
index 68bbbdda70a7..9d82944da16c 100644
--- a/sw/source/filter/html/htmlgrin.cxx
+++ b/sw/source/filter/html/htmlgrin.cxx
@@ -394,18 +394,21 @@ void SwHTMLParser::InsertImage()
case HTML_O_SDONLOAD:
eScriptType2 = STARBASIC;
+ //fallthrough
case HTML_O_ONLOAD:
nEvent = SVX_EVENT_IMAGE_LOAD;
goto IMAGE_SETEVENT;
case HTML_O_SDONABORT:
eScriptType2 = STARBASIC;
+ //fallthrough
case HTML_O_ONABORT:
nEvent = SVX_EVENT_IMAGE_ABORT;
goto IMAGE_SETEVENT;
case HTML_O_SDONERROR:
eScriptType2 = STARBASIC;
+ //fallthrough
case HTML_O_ONERROR:
nEvent = SVX_EVENT_IMAGE_ERROR;
goto IMAGE_SETEVENT;