diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-11 15:49:18 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-11 20:21:50 +0000 |
commit | 01ed55a47ab323d2cbf98398e65a00b509053269 (patch) | |
tree | 26e4085cb549426be67bbe29d0b45d99283fe193 /sw | |
parent | 44bfdc408eb65bc357adb8404c0451c89293dea7 (diff) |
coverity#1130384 Missing break in switch
Change-Id: I0c73bd07a96ae45ee59669633d6b98cd5861c2b6
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/html/htmlgrin.cxx | 3 |
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; |