summaryrefslogtreecommitdiff
path: root/svgio/inc/svgtoken.hxx
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2023-08-02 13:35:53 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2023-08-02 18:04:49 +0200
commit76f50549f4898313ef4a18ce32d1f0a625ce766d (patch)
tree44f2ae9504c331b89f495e65cf5655cfbe2ed7eb /svgio/inc/svgtoken.hxx
parent5f6c337bbb3bdfbea05484ad0cc6ff58d575a39b (diff)
tdf#156579: treat switch element as a group
Regression from commit 13a41e7a12598c7896d6dc8d34aba6af5b80b83c Author: Xisco Fauli <xiscofauli@libreoffice.org> Date: Mon Jul 3 14:11:43 2023 +0200 tdf#150124: do nothing when parent is of unkown type because 'switch' is not a known token. For now it, treat it as a group No need to have a unittest for this Change-Id: I4cae92a010e45cd729db475a7abccab19a5d5403 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155250 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'svgio/inc/svgtoken.hxx')
-rw-r--r--svgio/inc/svgtoken.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/svgio/inc/svgtoken.hxx b/svgio/inc/svgtoken.hxx
index cec89241903a..175297fa67e5 100644
--- a/svgio/inc/svgtoken.hxx
+++ b/svgio/inc/svgtoken.hxx
@@ -135,6 +135,7 @@ namespace svgio::svgreader
G,
Svg,
Symbol,
+ Switch,
Use,
A,