diff options
author | Regina Henschel <rb.henschel@t-online.de> | 2016-03-16 18:51:48 +0100 |
---|---|---|
committer | jan iversen <jani@documentfoundation.org> | 2016-03-17 07:43:05 +0000 |
commit | f5d4a688346a939a58b1df69d771dede177b3370 (patch) | |
tree | da28053c887986612c955ce8a6fae37d6f802722 | |
parent | be2c79c0fab348ade79f20f7a3727be818997d7f (diff) |
tdf#98599 SVG: consider attributes of 'defs' element
The element 'defs' is not rendered, but children of it may
inherit the attributes. Therefore these has to be considered.
Change-Id: Ic6c21645439731db63f22adf5a5a4e2af2b74b71
Reviewed-on: https://gerrit.libreoffice.org/23309
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
-rw-r--r-- | svgio/source/svgreader/svggnode.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svgio/source/svgreader/svggnode.cxx b/svgio/source/svgreader/svggnode.cxx index a4bc674c580f..2f553786606d 100644 --- a/svgio/source/svgreader/svggnode.cxx +++ b/svgio/source/svgreader/svggnode.cxx @@ -45,8 +45,8 @@ namespace svgio { if (SVGTokenDefs == getType()) { - // #i125258# call parent for SVGTokenDefs - return SvgNode::getSvgStyleAttributes(); + // tdf#98599 attributes may be inherit by the children, therefore read them + return checkForCssStyle("defs", maSvgStyleAttributes); } else { |