summaryrefslogtreecommitdiffstats
path: root/src/shape-editor.cpp
diff options
context:
space:
mode:
authorKris De Gussem <kris.degussem@gmail.com>2012-02-25 06:48:54 +0000
committerKris <Kris.De.Gussem@hotmail.com>2012-02-25 06:48:54 +0000
commit235e0557710fbd010aeb0db31ab719cc142885ae (patch)
treef847bf164cd6d5e9a6dedc96d39406fc0b428c83 /src/shape-editor.cpp
parentavoid some Shape calculations that are not relevant to visual bbox (Bug 906952) (diff)
downloadinkscape-235e0557710fbd010aeb0db31ab719cc142885ae.tar.gz
inkscape-235e0557710fbd010aeb0db31ab719cc142885ae.zip
(cppcheck and janitorial tasks:) C-style casting to C++-style casting
(bzr r11011)
Diffstat (limited to 'src/shape-editor.cpp')
-rw-r--r--src/shape-editor.cpp2
1 files changed, 1 insertions, 1 deletions
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<ShapeEditor *>(data);
sh->shapeeditor_event_attr_changed(name);
}