diff options
| author | Marc Jeanmougin <marc@jeanmougin.fr> | 2015-12-07 23:45:01 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marcjeanmougin@free.fr> | 2015-12-07 23:45:01 +0000 |
| commit | a0bef55aef1f82f56535cfadf30247657ccc3f90 (patch) | |
| tree | a5523d84140303998f86072c6263e16af6d5d15e /src/ui/clipboard.cpp | |
| parent | cppification : GHashMaps replaced by stl maps. getResouceList now gives a std... (diff) | |
| parent | static code analysis (diff) | |
| download | inkscape-a0bef55aef1f82f56535cfadf30247657ccc3f90.tar.gz inkscape-a0bef55aef1f82f56535cfadf30247657ccc3f90.zip | |
update to trunk
(bzr r14504.1.7)
Diffstat (limited to 'src/ui/clipboard.cpp')
| -rw-r--r-- | src/ui/clipboard.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/clipboard.cpp b/src/ui/clipboard.cpp index 354fa45dc..f04d8a591 100644 --- a/src/ui/clipboard.cpp +++ b/src/ui/clipboard.cpp @@ -682,11 +682,11 @@ void ClipboardManagerImpl::_copySelection(Inkscape::Selection *selection) //remove already copied elements from cloned_elements std::vector<SPItem*>tr; - for(std::set<SPItem*>::iterator it = cloned_elements.begin();it!=cloned_elements.end();it++){ + for(std::set<SPItem*>::iterator it = cloned_elements.begin();it!=cloned_elements.end();++it){ if(std::find(sorted_items.begin(),sorted_items.end(),*it)!=sorted_items.end()) tr.push_back(*it); } - for(std::vector<SPItem*>::iterator it = tr.begin();it!=tr.end();it++){ + for(std::vector<SPItem*>::iterator it = tr.begin();it!=tr.end();++it){ cloned_elements.erase(*it); } |
