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

Xisco Fauli anistenis at gmail.com
Sun Apr 3 01:13:11 UTC 2016


 svgio/source/svgreader/svgstyleattributes.cxx |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

New commits:
commit 9b0069c2833313ba9fab91f45edd354ba334f94b
Author: Xisco Fauli <anistenis at gmail.com>
Date:   Sun Apr 3 01:33:49 2016 +0200

    SVG: Using the marker property from a style sheet is equivalent...
    
    ... to using all three (start, mid, end).
    However, shorthand properties cannot be used as presentation
    attributes.
    
    Change-Id: Ie3842b8fa87f562f038600f8f012d8434363b3cd
    Reviewed-on: https://gerrit.libreoffice.org/23749
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Xisco FaulĂ­ <anistenis at gmail.com>

diff --git a/svgio/source/svgreader/svgstyleattributes.cxx b/svgio/source/svgreader/svgstyleattributes.cxx
index 36b4e30..78207b5 100644
--- a/svgio/source/svgreader/svgstyleattributes.cxx
+++ b/svgio/source/svgreader/svgstyleattributes.cxx
@@ -1854,8 +1854,11 @@ namespace svgio
                 }
                 case SVGTokenMarker:
                 {
-                    readLocalUrl(aContent, maMarkerEndXLink);
-                    maMarkerStartXLink = maMarkerMidXLink = maMarkerEndXLink;
+                    if(bCaseIndependent)
+                    {
+                        readLocalUrl(aContent, maMarkerEndXLink);
+                        maMarkerStartXLink = maMarkerMidXLink = maMarkerEndXLink;
+                    }
                     break;
                 }
                 case SVGTokenMarkerStart:


More information about the Libreoffice-commits mailing list