diff options
| author | Marc Jeanmougin <mc@localhost.localdomain> | 2015-02-27 03:21:48 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <mc@localhost.localdomain> | 2015-02-27 03:21:48 +0000 |
| commit | 9bdc157f705ca61516e599cb416580283d21ec35 (patch) | |
| tree | 59cc0dbb46445c8741913922bf7d983f35d5c11d /src/seltrans.cpp | |
| parent | corrected the casts (hopefully) (diff) | |
| download | inkscape-9bdc157f705ca61516e599cb416580283d21ec35.tar.gz inkscape-9bdc157f705ca61516e599cb416580283d21ec35.zip | |
more cast cleanup
(bzr r13922.1.11)
Diffstat (limited to 'src/seltrans.cpp')
| -rw-r--r-- | src/seltrans.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/seltrans.cpp b/src/seltrans.cpp index 61d8a1ab1..bfb8d53f1 100644 --- a/src/seltrans.cpp +++ b/src/seltrans.cpp @@ -271,7 +271,7 @@ void Inkscape::SelTrans::grab(Geom::Point const &p, gdouble x, gdouble y, bool s std::vector<SPItem*> items=_desktop->selection->itemList(); for ( std::vector<SPItem*>::const_iterator iter=items.begin();iter!=items.end();iter++ ) { - SPItem *it = reinterpret_cast<SPItem*>(sp_object_ref(SP_ITEM(*iter), NULL)); + SPItem *it = static_cast<SPItem*>(sp_object_ref(*iter, NULL)); _items.push_back(it); _items_const.push_back(it); _items_affines.push_back(it->i2dt_affine()); |
