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/draw-context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/draw-context.cpp') diff --git a/src/draw-context.cpp b/src/draw-context.cpp index e24a6704a..36d7eb8de 100644 --- a/src/draw-context.cpp +++ b/src/draw-context.cpp @@ -458,7 +458,7 @@ spdc_attach_selection(SPDrawContext *dc, Inkscape::Selection */*sel*/) /* Anchor list */ for (GSList *l = dc->white_curves; l != NULL; l = l->next) { SPCurve *c; - c = (SPCurve*)l->data; + c = static_cast(l->data); g_return_if_fail( c->get_segment_count() > 0 ); if ( !c->is_closed() ) { SPDrawAnchor *a; -- cgit v1.2.3