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/ui/clipboard.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/ui/clipboard.cpp')
| -rw-r--r-- | src/ui/clipboard.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/clipboard.cpp b/src/ui/clipboard.cpp index a38a52371..3fe935e7d 100644 --- a/src/ui/clipboard.cpp +++ b/src/ui/clipboard.cpp @@ -706,7 +706,7 @@ void ClipboardManagerImpl::_copySelection(Inkscape::Selection *selection) // copy style for Paste Style action if (!sorted_items.empty()) { - SPObject *object = static_cast<SPObject *>(sorted_items[0]); + SPObject *object = sorted_items[0]; SPItem *item = dynamic_cast<SPItem *>(object); if (item) { SPCSSAttr *style = take_style_from_item(item); |
