summaryrefslogtreecommitdiff
path: root/svgio
diff options
context:
space:
mode:
authorJoren De Cuyper <jorendc@libreoffice.org>2014-07-22 17:33:03 +0200
committerCaolán McNamara <caolanm@redhat.com>2014-07-22 15:45:30 +0000
commit2662df924f7d5e2d65ec727be99e39c18e1e3e7b (patch)
treef09b58c7dce28723f9766c2f2fc63ad7fdfacf1d /svgio
parent5ad0673063d92faeab28db1048513b6f1e71b94f (diff)
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@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svgio')
-rw-r--r--svgio/source/svgreader/svgstyleattributes.cxx2
1 files changed, 1 insertions, 1 deletions
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();
}