[Libreoffice-commits] core.git: svgio/source

Xisco Fauli (via logerrit) logerrit at kemper.freedesktop.org
Mon Sep 23 14:40:14 UTC 2019


 svgio/source/svgreader/svgstyleattributes.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 08e7b7e5786e6daa2ccf3353050e7acac3415418
Author:     Xisco Fauli <xiscofauli at libreoffice.org>
AuthorDate: Mon Sep 23 14:13:05 2019 +0200
Commit:     Michael Stahl <michael.stahl at cib.de>
CommitDate: Mon Sep 23 16:39:18 2019 +0200

    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 at cib.de>

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();
 


More information about the Libreoffice-commits mailing list