summaryrefslogtreecommitdiffstats
path: root/svgio/source/svgreader/svgstyleattributes.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svgio/source/svgreader/svgstyleattributes.cxx')
-rw-r--r--svgio/source/svgreader/svgstyleattributes.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/svgio/source/svgreader/svgstyleattributes.cxx b/svgio/source/svgreader/svgstyleattributes.cxx
index bf4f057480fd..a6ad68d888bc 100644
--- a/svgio/source/svgreader/svgstyleattributes.cxx
+++ b/svgio/source/svgreader/svgstyleattributes.cxx
@@ -1980,7 +1980,7 @@ namespace svgio
return &maFill.getBColor();
}
}
- else
+ else if (!mpSvgGradientNodeFill && !mpSvgPatternNodeFill)
{
const SvgStyleAttributes* pSvgStyleAttributes = getParentStyle();
@@ -2010,7 +2010,7 @@ namespace svgio
return &maStroke.getBColor();
}
}
- else
+ else if (!mpSvgGradientNodeStroke && !mpSvgPatternNodeStroke)
{
const SvgStyleAttributes* pSvgStyleAttributes = getParentStyle();
@@ -2045,7 +2045,7 @@ namespace svgio
{
return mpSvgGradientNodeFill;
}
- else
+ else if (!maFill.isSet() && !mpSvgPatternNodeFill)
{
const SvgStyleAttributes* pSvgStyleAttributes = getParentStyle();
@@ -2068,7 +2068,7 @@ namespace svgio
{
return mpSvgGradientNodeStroke;
}
- else
+ else if (!maStroke.isSet() && !mpSvgPatternNodeStroke)
{
const SvgStyleAttributes* pSvgStyleAttributes = getParentStyle();
@@ -2091,7 +2091,7 @@ namespace svgio
{
return mpSvgPatternNodeFill;
}
- else
+ else if (!maFill.isSet() && !mpSvgGradientNodeFill)
{
const SvgStyleAttributes* pSvgStyleAttributes = getParentStyle();
@@ -2114,7 +2114,7 @@ namespace svgio
{
return mpSvgPatternNodeStroke;
}
- else
+ else if (!maStroke.isSet() && !mpSvgGradientNodeStroke)
{
const SvgStyleAttributes* pSvgStyleAttributes = getParentStyle();