summaryrefslogtreecommitdiffstats
path: root/src/object/color-profile.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/color-profile.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/color-profile.cpp')
-rw-r--r--src/object/color-profile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object/color-profile.cpp b/src/object/color-profile.cpp
index 1540b7fa6..2475181ec 100644
--- a/src/object/color-profile.cpp
+++ b/src/object/color-profile.cpp
@@ -315,7 +315,7 @@ void ColorProfile::build(SPDocument *document, Inkscape::XML::Node *repr) {
/**
* Callback: set attribute.
*/
-void ColorProfile::set(unsigned key, gchar const *value) {
+void ColorProfile::set(SPAttributeEnum key, gchar const *value) {
switch (key) {
case SP_ATTR_XLINK_HREF:
if ( this->href ) {