Kaydet (Commit) 5199e113 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1130409 Missing break in switch

Change-Id: Iad5076e7717703c7eaea90eeb9ca082aa33cccac
üst 1f4a6d55
...@@ -859,6 +859,7 @@ void SwHTMLParser::InsertBodyOptions() ...@@ -859,6 +859,7 @@ void SwHTMLParser::InsertBodyOptions()
case HTML_O_SDONLOAD: case HTML_O_SDONLOAD:
eScriptType2 = STARBASIC; eScriptType2 = STARBASIC;
//fallthrough
case HTML_O_ONLOAD: case HTML_O_ONLOAD:
aEvent = GlobalEventConfig::GetEventName( STR_EVENT_OPENDOC ); aEvent = GlobalEventConfig::GetEventName( STR_EVENT_OPENDOC );
bSetEvent = sal_True; bSetEvent = sal_True;
...@@ -866,6 +867,7 @@ void SwHTMLParser::InsertBodyOptions() ...@@ -866,6 +867,7 @@ void SwHTMLParser::InsertBodyOptions()
case HTML_O_SDONUNLOAD: case HTML_O_SDONUNLOAD:
eScriptType2 = STARBASIC; eScriptType2 = STARBASIC;
//fallthrough
case HTML_O_ONUNLOAD: case HTML_O_ONUNLOAD:
aEvent = GlobalEventConfig::GetEventName( STR_EVENT_PREPARECLOSEDOC ); aEvent = GlobalEventConfig::GetEventName( STR_EVENT_PREPARECLOSEDOC );
bSetEvent = sal_True; bSetEvent = sal_True;
...@@ -873,6 +875,7 @@ void SwHTMLParser::InsertBodyOptions() ...@@ -873,6 +875,7 @@ void SwHTMLParser::InsertBodyOptions()
case HTML_O_SDONFOCUS: case HTML_O_SDONFOCUS:
eScriptType2 = STARBASIC; eScriptType2 = STARBASIC;
//fallthrough
case HTML_O_ONFOCUS: case HTML_O_ONFOCUS:
aEvent = GlobalEventConfig::GetEventName( STR_EVENT_ACTIVATEDOC ); aEvent = GlobalEventConfig::GetEventName( STR_EVENT_ACTIVATEDOC );
bSetEvent = sal_True; bSetEvent = sal_True;
...@@ -880,6 +883,7 @@ void SwHTMLParser::InsertBodyOptions() ...@@ -880,6 +883,7 @@ void SwHTMLParser::InsertBodyOptions()
case HTML_O_SDONBLUR: case HTML_O_SDONBLUR:
eScriptType2 = STARBASIC; eScriptType2 = STARBASIC;
//fallthrough
case HTML_O_ONBLUR: case HTML_O_ONBLUR:
aEvent = GlobalEventConfig::GetEventName( STR_EVENT_DEACTIVATEDOC ); aEvent = GlobalEventConfig::GetEventName( STR_EVENT_DEACTIVATEDOC );
bSetEvent = sal_True; bSetEvent = sal_True;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment