svgio/source/svgreader/svgdocumenthandler.cxx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
New commits: commit e222f60ac2a71032dbdf62d7c7e28978b5a0b19c Author: Xisco Fauli <[email protected]> AuthorDate: Thu Aug 3 18:32:45 2023 +0200 Commit: Xisco Fauli <[email protected]> CommitDate: Thu Aug 3 22:47:20 2023 +0200 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 <[email protected]> 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:
