summaryrefslogtreecommitdiffstats
path: root/src/profile-manager.cpp
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2016-05-21 09:58:25 +0000
committerMarc Jeanmougin <marcjeanmougin@free.fr>2016-05-21 09:58:25 +0000
commit9e9ce2c30be9d6af144ff07f69c15c508d84e776 (patch)
tree477b56572c6dbde8fbcd1480c862d3a66b7f232a /src/profile-manager.cpp
parentAdjust some thresholds for finding intersections in elliptical arcs (diff)
downloadinkscape-9e9ce2c30be9d6af144ff07f69c15c508d84e776.tar.gz
inkscape-9e9ce2c30be9d6af144ff07f69c15c508d84e776.zip
Fix regression: restore order in resources (e.g. pattern list)
(bzr r14907)
Diffstat (limited to 'src/profile-manager.cpp')
-rw-r--r--src/profile-manager.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/profile-manager.cpp b/src/profile-manager.cpp
index 035aa6051..26e1cd72c 100644
--- a/src/profile-manager.cpp
+++ b/src/profile-manager.cpp
@@ -34,9 +34,8 @@ void ProfileManager::_resourcesChanged()
{
std::vector<SPObject*> newList;
if (_doc) {
- std::set<SPObject *> current = _doc->getResourceList( "iccprofile" );
- for (std::set<SPObject *>::const_iterator i = current.begin(); i != current.end(); ++i)
- newList.push_back(*i);
+ std::vector<SPObject *> current = _doc->getResourceList( "iccprofile" );
+ newList = current;
}
sort( newList.begin(), newList.end() );