[Libreoffice-commits] core.git: svgio/source

Chr. Rossmanith ChrRossmanith at gmx.de
Sun Nov 17 11:28:14 PST 2013


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

New commits:
commit 1d89cd08ab3566375e30b17f1b17bc240ca907a4
Author: Chr. Rossmanith <ChrRossmanith at gmx.de>
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 <ChrRossmanith at web.de>
    Tested-by: Christina Roßmanith <ChrRossmanith at web.de>

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)


More information about the Libreoffice-commits mailing list