summaryrefslogtreecommitdiffstats
path: root/src/object/sp-tspan.cpp
diff options
context:
space:
mode:
authorThomas Holder <thomas@thomas-holder.de>2018-10-06 13:28:39 +0000
committerThomas Holder <thomas@thomas-holder.de>2018-10-06 13:28:39 +0000
commit03c35f6065f45346634cdcd8a9d13e4f167549c0 (patch)
tree3a892c439d37cff565592d93e124137e70a42c31 /src/object/sp-tspan.cpp
parentAdd new style register style property for stop color and opacity (diff)
downloadinkscape-03c35f6065f45346634cdcd8a9d13e4f167549c0.tar.gz
inkscape-03c35f6065f45346634cdcd8a9d13e4f167549c0.zip
SPAttributeEnum typed function arguments
Diffstat (limited to 'src/object/sp-tspan.cpp')
-rw-r--r--src/object/sp-tspan.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/object/sp-tspan.cpp b/src/object/sp-tspan.cpp
index 860c30c84..4b6a0733f 100644
--- a/src/object/sp-tspan.cpp
+++ b/src/object/sp-tspan.cpp
@@ -68,7 +68,7 @@ void SPTSpan::release() {
SPItem::release();
}
-void SPTSpan::set(unsigned int key, const gchar* value) {
+void SPTSpan::set(SPAttributeEnum key, const gchar* value) {
if (this->attributes.readSingleAttribute(key, value, style, &viewport)) {
this->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG);
} else {
@@ -277,7 +277,7 @@ void SPTextPath::release() {
SPItem::release();
}
-void SPTextPath::set(unsigned int key, const gchar* value) {
+void SPTextPath::set(SPAttributeEnum key, const gchar* value) {
if (this->attributes.readSingleAttribute(key, value, style, &viewport)) {
this->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG);