summaryrefslogtreecommitdiff
path: root/svgio
diff options
context:
space:
mode:
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();