summaryrefslogtreecommitdiffstats
path: root/svtools/source/svhtml/parhtml.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/svhtml/parhtml.cxx')
-rw-r--r--svtools/source/svhtml/parhtml.cxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/svtools/source/svhtml/parhtml.cxx b/svtools/source/svhtml/parhtml.cxx
index e38afaa8ec2b..e96af0e732a7 100644
--- a/svtools/source/svhtml/parhtml.cxx
+++ b/svtools/source/svhtml/parhtml.cxx
@@ -651,11 +651,7 @@ HtmlTokenId HTMLParser::ScanText( const sal_Unicode cBreak )
{
bContinue = false;
}
- else
- {
- sTmpBuffer.appendUtf32( nNextCh );
- }
-
+ // else: ignore, not a valid code point
break;
case '<':
@@ -967,7 +963,7 @@ HtmlTokenId HTMLParser::GetNextRawToken()
}
break;
}
- [[fallthrough]];
+ break;
default:
if (!linguistic::IsControlChar(nNextCh) || nNextCh == '\t')
{