summaryrefslogtreecommitdiffstats
path: root/src/snap.cpp
diff options
context:
space:
mode:
authorMarc Jeanmougin <mc@localhost.localdomain>2015-02-27 02:10:36 +0000
committerMarc Jeanmougin <mc@localhost.localdomain>2015-02-27 02:10:36 +0000
commit9a7fa4d1899d30ec745107823f307b2a0bf3172f (patch)
tree216bd7b47a96425af53642e2c3869a70ebfa23e5 /src/snap.cpp
parentshould replace buggy pot file (diff)
downloadinkscape-9a7fa4d1899d30ec745107823f307b2a0bf3172f.tar.gz
inkscape-9a7fa4d1899d30ec745107823f307b2a0bf3172f.zip
corrected the casts (hopefully)
(bzr r13922.1.10)
Diffstat (limited to 'src/snap.cpp')
-rw-r--r--src/snap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/snap.cpp b/src/snap.cpp
index c711874d7..31cafafcd 100644
--- a/src/snap.cpp
+++ b/src/snap.cpp
@@ -1055,7 +1055,7 @@ void SnapManager::setupIgnoreSelection(SPDesktop const *desktop,
Inkscape::Selection *sel = _desktop->selection;
std::vector<SPItem*> const items = sel->itemList();
for (std::vector<SPItem*>::const_iterator i=items.begin();i!=items.end();i++) {
- _items_to_ignore.push_back(static_cast<SPItem const *>(*i));
+ _items_to_ignore.push_back(*i);
}
}