From 2662df924f7d5e2d65ec727be99e39c18e1e3e7b Mon Sep 17 00:00:00 2001 From: Joren De Cuyper Date: Tue, 22 Jul 2014 17:33:03 +0200 Subject: Fix build: incorrect revertion svgio MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Incorrect revertion in commit 3d3401a6397e893808309ec374f5d8f890144906 Change-Id: If4abac2670b083ebbc75c2fe06ae9e100072ef00 Reviewed-on: https://gerrit.libreoffice.org/10466 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- svgio/source/svgreader/svgstyleattributes.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svgio') diff --git a/svgio/source/svgreader/svgstyleattributes.cxx b/svgio/source/svgreader/svgstyleattributes.cxx index 9c247532125b..cece3967efdc 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(); } -- cgit