From c22238fdce5ff0ec04b22b5714cc9e383276a118 Mon Sep 17 00:00:00 2001 From: Thomas Holder Date: Sun, 27 Oct 2019 09:04:25 +0100 Subject: refactor: private SPIBase::_name --- src/style.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/style.cpp') diff --git a/src/style.cpp b/src/style.cpp index b75cc898e..a67732ffd 100644 --- a/src/style.cpp +++ b/src/style.cpp @@ -597,7 +597,7 @@ SPStyle::read( SPObject *object, Inkscape::XML::Node *repr ) { // font-variant are converted to shorthands in CSS 3 but can still be read as a // non-shorthand for compatibility with older renders, so they should not be in this list. // We could add a flag to SPIBase to avoid string comparison. - if( p->name != "font" && p->name != "marker") { + if (p->name() != "font" && p->name() != "marker") { p->readAttribute( repr ); } } -- cgit v1.2.3