summaryrefslogtreecommitdiffstats
path: root/src/attribute-rel-util.cpp
diff options
context:
space:
mode:
authorsu_v <suv-sf@users.sourceforge.net>2013-01-24 19:45:45 +0000
committer~suv <suv-sf@users.sourceforge.net>2013-01-24 19:45:45 +0000
commit988890b65df3543ea812535feb7a8c5c5e81178e (patch)
tree9214960f6ab838f332c8b2a79b237bbc4add1d70 /src/attribute-rel-util.cpp
parentmerge from trunk (r12051) (diff)
parentfix crash (diff)
downloadinkscape-988890b65df3543ea812535feb7a8c5c5e81178e.tar.gz
inkscape-988890b65df3543ea812535feb7a8c5c5e81178e.zip
merge from trunk (r12063)
(bzr r11668.1.49)
Diffstat (limited to 'src/attribute-rel-util.cpp')
-rw-r--r--src/attribute-rel-util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/attribute-rel-util.cpp b/src/attribute-rel-util.cpp
index 38327b413..0527dad4e 100644
--- a/src/attribute-rel-util.cpp
+++ b/src/attribute-rel-util.cpp
@@ -209,9 +209,9 @@ void sp_attribute_clean_style(Node* repr, SPCSSAttr *css, unsigned int flags) {
}
// Find parent value for same property (property)
- gchar const * property_p = NULL;
gchar const * value_p = NULL;
if( css_parent != NULL ) {
+ gchar const * property_p = NULL;
for ( List<AttributeRecord const> iter_p = css_parent->attributeList() ; iter_p ; ++iter_p ) {
property_p = g_quark_to_string(iter_p->key);