diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-31 16:57:42 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-31 17:04:41 +0100 |
commit | 5199e11317f8595bac652ff2bc28c54453c6534d (patch) | |
tree | 3d1c6fa87222d46578b51a0fa583b9420d5d53c9 /sw | |
parent | 1f4a6d5526afc856496f462915e6386f78c44143 (diff) |
coverity#1130409 Missing break in switch
Change-Id: Iad5076e7717703c7eaea90eeb9ca082aa33cccac
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/html/htmlgrin.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/filter/html/htmlgrin.cxx b/sw/source/filter/html/htmlgrin.cxx index 7da9981b51ee..4a3f1799fa1d 100644 --- a/sw/source/filter/html/htmlgrin.cxx +++ b/sw/source/filter/html/htmlgrin.cxx @@ -859,6 +859,7 @@ void SwHTMLParser::InsertBodyOptions() case HTML_O_SDONLOAD: eScriptType2 = STARBASIC; + //fallthrough case HTML_O_ONLOAD: aEvent = GlobalEventConfig::GetEventName( STR_EVENT_OPENDOC ); bSetEvent = sal_True; @@ -866,6 +867,7 @@ void SwHTMLParser::InsertBodyOptions() case HTML_O_SDONUNLOAD: eScriptType2 = STARBASIC; + //fallthrough case HTML_O_ONUNLOAD: aEvent = GlobalEventConfig::GetEventName( STR_EVENT_PREPARECLOSEDOC ); bSetEvent = sal_True; @@ -873,6 +875,7 @@ void SwHTMLParser::InsertBodyOptions() case HTML_O_SDONFOCUS: eScriptType2 = STARBASIC; + //fallthrough case HTML_O_ONFOCUS: aEvent = GlobalEventConfig::GetEventName( STR_EVENT_ACTIVATEDOC ); bSetEvent = sal_True; @@ -880,6 +883,7 @@ void SwHTMLParser::InsertBodyOptions() case HTML_O_SDONBLUR: eScriptType2 = STARBASIC; + //fallthrough case HTML_O_ONBLUR: aEvent = GlobalEventConfig::GetEventName( STR_EVENT_DEACTIVATEDOC ); bSetEvent = sal_True; |