From 235e0557710fbd010aeb0db31ab719cc142885ae Mon Sep 17 00:00:00 2001 From: Kris De Gussem Date: Sat, 25 Feb 2012 07:48:54 +0100 Subject: (cppcheck and janitorial tasks:) C-style casting to C++-style casting (bzr r11011) --- src/shape-editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shape-editor.cpp') diff --git a/src/shape-editor.cpp b/src/shape-editor.cpp index 1fe6e620b..2034b9d2d 100644 --- a/src/shape-editor.cpp +++ b/src/shape-editor.cpp @@ -154,7 +154,7 @@ static void shapeeditor_event_attr_changed(Inkscape::XML::Node */*repr*/, gchar bool /*is_interactive*/, gpointer data) { g_assert(data); - ShapeEditor *sh = ((ShapeEditor *) data); + ShapeEditor *sh = static_cast(data); sh->shapeeditor_event_attr_changed(name); } -- cgit v1.2.3