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

Joren De Cuyper jorendc at libreoffice.org
Tue Jul 22 08:45:58 PDT 2014


 svgio/source/svgreader/svgstyleattributes.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2662df924f7d5e2d65ec727be99e39c18e1e3e7b
Author: Joren De Cuyper <jorendc at libreoffice.org>
Date:   Tue Jul 22 17:33:03 2014 +0200

    Fix build: incorrect revertion svgio
    
    Incorrect revertion in commit 3d3401a6397e893808309ec374f5d8f890144906
    
    Change-Id: If4abac2670b083ebbc75c2fe06ae9e100072ef00
    Reviewed-on: https://gerrit.libreoffice.org/10466
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/svgio/source/svgreader/svgstyleattributes.cxx b/svgio/source/svgreader/svgstyleattributes.cxx
index 9c24753..cece396 100644
--- a/svgio/source/svgreader/svgstyleattributes.cxx
+++ b/svgio/source/svgreader/svgstyleattributes.cxx
@@ -208,7 +208,7 @@ namespace svgio
                 return getCssStyleParent();
             }
 
-            if(mrOwner.getParent())
+            if(mrOwner.supportsParentStyle() && mrOwner.getParent())
             {
                 return mrOwner.getParent()->getSvgStyleAttributes();
             }


More information about the Libreoffice-commits mailing list