From da533e8eac531e04756a1e835c5aa9cd8fa359c4 Mon Sep 17 00:00:00 2001 From: buliabyak Date: Sun, 21 May 2006 19:58:54 +0000 Subject: [PATCH] fix 1445003 --- src/splivarot.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/splivarot.cpp b/src/splivarot.cpp index eeb82970b..828c61048 100644 --- a/src/splivarot.cpp +++ b/src/splivarot.cpp @@ -574,7 +574,7 @@ sp_selected_path_outline() } { // pas de stroke pas de chocolat - SPCSSAttr *css = sp_repr_css_attr(SP_OBJECT_REPR(item), "style"); + SPCSSAttr *css = sp_repr_css_attr_inherited(SP_OBJECT_REPR(item), "style"); gchar const *val = sp_repr_css_property(css, "stroke", NULL); if (val == NULL || strcmp(val, "none") == 0) { @@ -586,7 +586,7 @@ sp_selected_path_outline() // remember old stroke style, to be set on fill SPCSSAttr *ncss; { - SPCSSAttr *ocss = sp_repr_css_attr(SP_OBJECT_REPR(item), "style"); + SPCSSAttr *ocss = sp_repr_css_attr_inherited(SP_OBJECT_REPR(item), "style"); gchar const *val = sp_repr_css_property(ocss, "stroke", NULL); gchar const *opac = sp_repr_css_property(ocss, "stroke-opacity", NULL); -- 2.30.2