[Libreoffice-commits] core.git: Branch 'aoo/trunk' - svgio/source
Armin Le Grand
alg at apache.org
Thu Oct 9 09:07:50 PDT 2014
svgio/source/svgreader/svgnode.cxx | 9 +++++++++
1 file changed, 9 insertions(+)
New commits:
commit f73813d9e0f13e3bdf735f8626dbf540701a1900
Author: Armin Le Grand <alg at apache.org>
Date: Thu Oct 9 15:03:55 2014 +0000
i125329 Take care of Css selector '*'
diff --git a/svgio/source/svgreader/svgnode.cxx b/svgio/source/svgreader/svgnode.cxx
index 5f4afdf..0149324 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
More information about the Libreoffice-commits
mailing list