diff options
author | Armin Le Grand <alg@apache.org> | 2014-10-09 15:03:55 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-10-09 17:30:13 +0100 |
commit | e17a730c0076b10678c860ae3285bc8a98282415 (patch) | |
tree | da33403273f7b8ba153d8ae705e993d4c08fcfa5 /svgio | |
parent | 726172e3eb8370125b89f853cebb1fb901547ebe (diff) |
Resolves: #i125329# Take care of Css selector '*'
(cherry picked from commit f73813d9e0f13e3bdf735f8626dbf540701a1900)
Conflicts:
svgio/source/svgreader/svgnode.cxx
Change-Id: Ifc5df8bed47d69709ef590eced19635b6b9580d0
Diffstat (limited to 'svgio')
-rw-r--r-- | svgio/source/svgreader/svgnode.cxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/svgio/source/svgreader/svgnode.cxx b/svgio/source/svgreader/svgnode.cxx index 029fdf88fc9d..edd287b18a67 100644 --- a/svgio/source/svgreader/svgnode.cxx +++ b/svgio/source/svgreader/svgnode.cxx @@ -194,6 +194,15 @@ namespace svgio // check the hierarchy for concatenated patterns of Selectors fillCssStyleVectorUsingHierarchyAndSelectors(rClassStr, *this, OUString()); + + // #i125329# find Css selector '*', add as last element if found + const SvgStyleAttributes* pNew = getDocument().findGlobalCssStyleAttributes("*"); + + if(pNew) + { + // add CssStyle for selector '*' if found + maCssStyleVector.push_back(pNew); + } } const SvgStyleAttributes* SvgNode::checkForCssStyle(const OUString& rClassStr, const SvgStyleAttributes& rOriginal) const |