summaryrefslogtreecommitdiffstats
path: root/src/style.cpp
diff options
context:
space:
mode:
authorThomas Holder <thomas@thomas-holder.de>2019-10-27 08:04:25 +0000
committerThomas Holder <thomas@thomas-holder.de>2019-10-28 11:31:30 +0000
commitc22238fdce5ff0ec04b22b5714cc9e383276a118 (patch)
tree9f3b8df323857095fed0d24bb0f2ad6a4b3c26bd /src/style.cpp
parentrefactor: Eliminate SPIEnum::enums (diff)
downloadinkscape-c22238fdce5ff0ec04b22b5714cc9e383276a118.tar.gz
inkscape-c22238fdce5ff0ec04b22b5714cc9e383276a118.zip
refactor: private SPIBase::_name
Diffstat (limited to 'src/style.cpp')
-rw-r--r--src/style.cpp2
1 files changed, 1 insertions, 1 deletions
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 );
}
}