diff options
author | Xisco Fauli <anistenis@gmail.com> | 2016-04-03 01:33:49 +0200 |
---|---|---|
committer | Xisco Faulí <anistenis@gmail.com> | 2016-04-03 01:12:50 +0000 |
commit | 9b0069c2833313ba9fab91f45edd354ba334f94b (patch) | |
tree | 01365bbf91c9f209b4d7ec3e30a6ddee2fd2b70a /svgio | |
parent | f7a75a66fa46627aa6edc6439650c1e3c06836d7 (diff) |
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@libreoffice.org>
Reviewed-by: Xisco Faulí <anistenis@gmail.com>
Diffstat (limited to 'svgio')
-rw-r--r-- | svgio/source/svgreader/svgstyleattributes.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/svgio/source/svgreader/svgstyleattributes.cxx b/svgio/source/svgreader/svgstyleattributes.cxx index 36b4e304e25c..78207b593ac6 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: |