summaryrefslogtreecommitdiffstats
path: root/src/object/sp-script.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/object/sp-script.cpp')
-rw-r--r--src/object/sp-script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object/sp-script.cpp b/src/object/sp-script.cpp
index e60789eb0..79b79fb01 100644
--- a/src/object/sp-script.cpp
+++ b/src/object/sp-script.cpp
@@ -52,7 +52,7 @@ void SPScript::modified(unsigned int /*flags*/) {
}
-void SPScript::set(unsigned int key, const gchar* value) {
+void SPScript::set(SPAttributeEnum key, const gchar* value) {
switch (key) {
case SP_ATTR_XLINK_HREF:
if (this->xlinkhref) {