diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2016-05-21 22:13:06 +0000 |
|---|---|---|
| committer | jabiertxof <info@marker.es> | 2016-05-21 22:13:06 +0000 |
| commit | eef0bdfef0bdbaa00c17067c601061d905974096 (patch) | |
| tree | 737c7efb116ec01e23e8d21ae9f9acc92923c708 /src/gradient-chemistry.cpp | |
| parent | Fixing undo thing (diff) | |
| parent | Remove duplicated code (diff) | |
| download | inkscape-eef0bdfef0bdbaa00c17067c601061d905974096.tar.gz inkscape-eef0bdfef0bdbaa00c17067c601061d905974096.zip | |
update to trunk
(bzr r14865.1.6)
Diffstat (limited to 'src/gradient-chemistry.cpp')
| -rw-r--r-- | src/gradient-chemistry.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gradient-chemistry.cpp b/src/gradient-chemistry.cpp index 7b4c0ac20..edeb523d7 100644 --- a/src/gradient-chemistry.cpp +++ b/src/gradient-chemistry.cpp @@ -1612,8 +1612,8 @@ void sp_gradient_unset_swatch(SPDesktop *desktop, std::string id) SPDocument *doc = desktop ? desktop->doc() : 0; if (doc) { - const std::set<SPObject *> gradients = doc->getResourceList("gradient"); - for (std::set<SPObject *>::const_iterator i = gradients.begin(); i != gradients.end(); ++i) { + const std::vector<SPObject *> gradients = doc->getResourceList("gradient"); + for (std::vector<SPObject *>::const_iterator i = gradients.begin(); i != gradients.end(); ++i) { SPGradient* grad = SP_GRADIENT(*i); if ( id == grad->getId() ) { grad->setSwatch(false); |
