summaryrefslogtreecommitdiff
path: root/svgio/inc
diff options
context:
space:
mode:
authorXisco Fauli <anistenis@gmail.com>2016-03-06 19:03:27 +0100
committerXisco FaulĂ­ <anistenis@gmail.com>2016-03-07 08:48:50 +0000
commitd5649ae7b76278cb3155f951d6327157c7c92b65 (patch)
tree6312127def6dcf68afff21c05d72f88ecac7a2d4 /svgio/inc
parent3c465c259c617e30b01c5ea25b5203a605cd4269 (diff)
SVGIO: tdf#97539: clip-path elements might contain...
reference to other clip-paths Change-Id: I3722b31cefa4df6225e369b3d1db9f46be5933ff Reviewed-on: https://gerrit.libreoffice.org/22956 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Xisco FaulĂ­ <anistenis@gmail.com>
Diffstat (limited to 'svgio/inc')
-rw-r--r--svgio/inc/svgio/svgreader/svgstyleattributes.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/svgio/inc/svgio/svgreader/svgstyleattributes.hxx b/svgio/inc/svgio/svgreader/svgstyleattributes.hxx
index f0c21ba47a49..fcd6114b730d 100644
--- a/svgio/inc/svgio/svgreader/svgstyleattributes.hxx
+++ b/svgio/inc/svgio/svgreader/svgstyleattributes.hxx
@@ -32,6 +32,7 @@ namespace svgio { namespace svgreader {
class SvgGradientNode;
class SvgPatternNode;
class SvgMarkerNode;
+ class SvgClipPathNode;
}}
@@ -215,6 +216,7 @@ namespace svgio
/// link to content. If set, the node can be fetched on demand
OUString maClipPathXLink;
+ const SvgClipPathNode* mpClipPathXLink;
OUString maMaskXLink;
/// link to markers. If set, the node can be fetched on demand
@@ -441,7 +443,8 @@ namespace svgio
void setDesc(const OUString& rNew) { maDesc = rNew; }
// ClipPathXLink content
- const OUString getClipPathXLink() const { return maClipPathXLink; }
+ OUString getClipPathXLink() const;
+ const SvgClipPathNode* accessClipPathXLink() const;
// MaskXLink content
const OUString getMaskXLink() const { return maMaskXLink; }