summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-12 10:11:18 +0200
committerNoel Grandin <noel@peralex.com>2014-02-12 15:10:47 +0200
commitde476d0146dfecf04f7d1630a771751e3f27ced9 (patch)
tree8be467b123c0b2cc66afd83b38ba3a62d48fc1b5 /svtools
parentcc24e7ebd9cf536bad6ae5a9f4983ac9e4e87686 (diff)
cid#1103689 missing break in switch
Change-Id: I28338145fdd71ec25b9c6d291e445d35636e43a9
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/svhtml/parhtml.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/svtools/source/svhtml/parhtml.cxx b/svtools/source/svhtml/parhtml.cxx
index 5b45f94f588b..942e881ed691 100644
--- a/svtools/source/svhtml/parhtml.cxx
+++ b/svtools/source/svhtml/parhtml.cxx
@@ -353,8 +353,10 @@ int HTMLParser::FilterToken( int nToken )
case HTML_HEAD_OFF:
bIsInBody = true;
+ bIsInHeader = false;
+ break;
case HTML_HEAD_ON:
- bIsInHeader = HTML_HEAD_ON == nToken;
+ bIsInHeader = true;
break;
case HTML_BODY_ON: