diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2023-08-03 18:32:45 +0200 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2023-08-03 22:47:20 +0200 |
commit | e222f60ac2a71032dbdf62d7c7e28978b5a0b19c (patch) | |
tree | 0e279f0c2fb1c528b9eac9555d6cfa819e513662 /svgio | |
parent | 46e672db8002e7aaac881bee65b5c50c4e14c666 (diff) |
related tdf#156579: just break for switch element
Change-Id: I4a31431325c44440f773f6f345d2a0a057d1fa37
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155317
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'svgio')
-rw-r--r-- | svgio/source/svgreader/svgdocumenthandler.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/svgio/source/svgreader/svgdocumenthandler.cxx b/svgio/source/svgreader/svgdocumenthandler.cxx index b0bdfbabe7fb..4eafc9e9639a 100644 --- a/svgio/source/svgreader/svgdocumenthandler.cxx +++ b/svgio/source/svgreader/svgdocumenthandler.cxx @@ -284,7 +284,6 @@ namespace mpTarget->parseAttributes(xAttribs); break; } - case SVGToken::Switch: //TODO: Support switch element case SVGToken::Defs: case SVGToken::G: { @@ -528,6 +527,12 @@ namespace break; } + case SVGToken::Switch: + { + //TODO: Support switch element + break; + } + // ignore FlowRoot and child nodes case SVGToken::FlowRoot: { @@ -569,7 +574,6 @@ namespace case SVGToken::G: case SVGToken::Svg: case SVGToken::Symbol: - case SVGToken::Switch: case SVGToken::Use: case SVGToken::A: |