diff options
| author | Kris De Gussem <kris.degussem@gmail.com> | 2012-02-25 06:48:54 +0000 |
|---|---|---|
| committer | Kris <Kris.De.Gussem@hotmail.com> | 2012-02-25 06:48:54 +0000 |
| commit | 235e0557710fbd010aeb0db31ab719cc142885ae (patch) | |
| tree | f847bf164cd6d5e9a6dedc96d39406fc0b428c83 /src/event-context.cpp | |
| parent | avoid some Shape calculations that are not relevant to visual bbox (Bug 906952) (diff) | |
| download | inkscape-235e0557710fbd010aeb0db31ab719cc142885ae.tar.gz inkscape-235e0557710fbd010aeb0db31ab719cc142885ae.zip | |
(cppcheck and janitorial tasks:) C-style casting to C++-style casting
(bzr r11011)
Diffstat (limited to 'src/event-context.cpp')
| -rw-r--r-- | src/event-context.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event-context.cpp b/src/event-context.cpp index 2c0bcaaff..72b240828 100644 --- a/src/event-context.cpp +++ b/src/event-context.cpp @@ -814,7 +814,7 @@ sp_event_context_new(GType type, SPDesktop *desktop, gchar const *pref_path, g_return_val_if_fail(g_type_is_a(type, SP_TYPE_EVENT_CONTEXT), NULL); g_return_val_if_fail(desktop != NULL, NULL); - SPEventContext * const ec = (SPEventContext*) g_object_new(type, NULL); + SPEventContext * const ec = static_cast<SPEventContext*>(g_object_new(type, NULL)); ec->desktop = desktop; ec->_message_context |
