diff options
author | Armin Le Grand <alg@apache.org> | 2014-10-09 15:03:55 +0000 |
---|---|---|
committer | Armin Le Grand <alg@apache.org> | 2014-10-09 15:03:55 +0000 |
commit | f73813d9e0f13e3bdf735f8626dbf540701a1900 (patch) | |
tree | e256e9f0c703987d8ce504dfd5ba5c4d28df37ed | |
parent | 2b179313ac95f4ae9dc2cf8f6b6d577ea893c7a8 (diff) |
i125329 Take care of Css selector '*'
Notes
Notes:
merged as: e17a730c0076b10678c860ae3285bc8a98282415
-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 5f4afdfb6abf..0149324cc495 100644 --- a/svgio/source/svgreader/svgnode.cxx +++ b/svgio/source/svgreader/svgnode.cxx @@ -201,6 +201,15 @@ namespace svgio // check the hierarchy for concatenated patterns of Selectors fillCssStyleVectorUsingHierarchyAndSelectors(rClassStr, *this, rtl::OUString()); + + // #125329# find Css selector '*', add as last element if found + const SvgStyleAttributes* pNew = getDocument().findGlobalCssStyleAttributes(rtl::OUString::createFromAscii("*")); + + if(pNew) + { + // add CssStyle for selector '*' if found + maCssStyleVector.push_back(pNew); + } } const SvgStyleAttributes* SvgNode::checkForCssStyle(const rtl::OUString& rClassStr, const SvgStyleAttributes& rOriginal) const |