diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2016-05-21 21:07:01 +0000 |
|---|---|---|
| committer | jabiertxof <info@marker.es> | 2016-05-21 21:07:01 +0000 |
| commit | 0c4ff843cb6263af471cd0b95ebb3a930b8a000e (patch) | |
| tree | 36559957dab0432bf071f45a0449ccb70167a2cc /src/profile-manager.cpp | |
| parent | Update to refresh knots (diff) | |
| parent | Remove duplicated code (diff) | |
| download | inkscape-0c4ff843cb6263af471cd0b95ebb3a930b8a000e.tar.gz inkscape-0c4ff843cb6263af471cd0b95ebb3a930b8a000e.zip | |
update to trunk
(bzr r13645.1.140)
Diffstat (limited to 'src/profile-manager.cpp')
| -rw-r--r-- | src/profile-manager.cpp | 5 |
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() ); |
