summaryrefslogtreecommitdiffstats
path: root/src/ui/clipboard.cpp
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2015-05-02 01:47:39 +0000
committerMarc Jeanmougin <marcjeanmougin@free.fr>2015-05-02 01:47:39 +0000
commit280053e5ddfcdf158f62d2d6a72681b3092d2168 (patch)
treecac1af19e44cee72053ad5b91829596eee4a03a9 /src/ui/clipboard.cpp
parentfixed selection after ungroup (diff)
downloadinkscape-280053e5ddfcdf158f62d2d6a72681b3092d2168.tar.gz
inkscape-280053e5ddfcdf158f62d2d6a72681b3092d2168.zip
Fixed comparison function used in sorts
(bzr r14085)
Diffstat (limited to 'src/ui/clipboard.cpp')
-rw-r--r--src/ui/clipboard.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/clipboard.cpp b/src/ui/clipboard.cpp
index a3620b754..d6cf1f980 100644
--- a/src/ui/clipboard.cpp
+++ b/src/ui/clipboard.cpp
@@ -674,7 +674,7 @@ void ClipboardManagerImpl::_copySelection(Inkscape::Selection *selection)
// copy the representation of the items
std::vector<SPItem*> sorted_items(itemlist);
- sort(sorted_items.begin(),sorted_items.end(),sp_object_compare_position);
+ sort(sorted_items.begin(),sorted_items.end(),sp_object_compare_position_bool);
for(std::vector<SPItem*>::const_iterator i=sorted_items.begin();i!=sorted_items.end();i++){
SPItem *item = *i;