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-polyline.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/object/sp-polyline.cpp') diff --git a/src/object/sp-polyline.cpp b/src/object/sp-polyline.cpp index 083cb3066..316078876 100644 --- a/src/object/sp-polyline.cpp +++ b/src/object/sp-polyline.cpp @@ -29,7 +29,7 @@ void SPPolyLine::build(SPDocument * document, Inkscape::XML::Node * repr) { this->readAttr("points"); } -void SPPolyLine::set(unsigned int key, const gchar* value) { +void SPPolyLine::set(SPAttributeEnum key, const gchar* value) { switch (key) { case SP_ATTR_POINTS: { SPCurve * curve; -- cgit v1.2.3