From 03c35f6065f45346634cdcd8a9d13e4f167549c0 Mon Sep 17 00:00:00 2001 From: Thomas Holder Date: Sat, 6 Oct 2018 13:28:39 +0000 Subject: SPAttributeEnum typed function arguments --- src/object/sp-script.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/object/sp-script.cpp') 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) { -- cgit v1.2.3