summaryrefslogtreecommitdiffstats
path: root/src/attribute-rel-util.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-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);