summaryrefslogtreecommitdiff
path: root/svgio
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2019-09-23 14:13:05 +0200
committerMichael Stahl <michael.stahl@cib.de>2019-09-23 16:39:18 +0200
commit08e7b7e5786e6daa2ccf3353050e7acac3415418 (patch)
treec0f4c1e3b79eb21a881c30462274ff40920bfd3a /svgio
parent8bb3c1143755930a02c3ebeb3425ace94884374a (diff)
SVGIO: Fix conditions after ab147995
Thanks to Michael Stahl Change-Id: I708dd87e82138a59afe311c9397f2c9e0fd4c274 Reviewed-on: https://gerrit.libreoffice.org/79404 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@cib.de>
Diffstat (limited to 'svgio')
-rw-r--r--svgio/source/svgreader/svgstyleattributes.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svgio/source/svgreader/svgstyleattributes.cxx b/svgio/source/svgreader/svgstyleattributes.cxx
index bd882e0e24c7..232202927a76 100644
--- a/svgio/source/svgreader/svgstyleattributes.cxx
+++ b/svgio/source/svgreader/svgstyleattributes.cxx
@@ -2020,7 +2020,7 @@ namespace svgio
}
}
}
- else if (!mpSvgGradientNodeFill && !mpSvgPatternNodeFill)
+ else if (maNodeFillURL.isEmpty())
{
const SvgStyleAttributes* pSvgStyleAttributes = getParentStyle();
@@ -2065,7 +2065,7 @@ namespace svgio
return &maStroke.getBColor();
}
}
- else if (!mpSvgGradientNodeStroke && !mpSvgPatternNodeStroke)
+ else if (maNodeStrokeURL.isEmpty())
{
const SvgStyleAttributes* pSvgStyleAttributes = getParentStyle();