svgio/source/svgreader/svgsvgnode.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1d89cd08ab3566375e30b17f1b17bc240ca907a4
Author: Chr. Rossmanith <[email protected]>
Date:   Sun Nov 3 13:41:40 2013 +0100

    Use CSS style attributes for top level svg node
    
    Change-Id: I1f1958e0e03868167a65a2186f955a085676f9d9
    Reviewed-on: https://gerrit.libreoffice.org/6563
    Reviewed-by: Christina Roßmanith <[email protected]>
    Tested-by: Christina Roßmanith <[email protected]>

diff --git a/svgio/source/svgreader/svgsvgnode.cxx 
b/svgio/source/svgreader/svgsvgnode.cxx
index 0bf1b45..8e107c6 100644
--- a/svgio/source/svgreader/svgsvgnode.cxx
+++ b/svgio/source/svgreader/svgsvgnode.cxx
@@ -60,7 +60,7 @@ namespace svgio
 
         const SvgStyleAttributes* SvgSvgNode::getSvgStyleAttributes() const
         {
-            return &maSvgStyleAttributes;
+            return checkForCssStyle(OUString("svg"), maSvgStyleAttributes);
         }
 
         void SvgSvgNode::parseAttribute(const OUString& rTokenName, SVGToken 
aSVGToken, const OUString& aContent)
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to