summaryrefslogtreecommitdiffstats
path: root/src/document.h
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/document.h
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/document.h')
-rw-r--r--src/document.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/document.h b/src/document.h
index 825049cd5..653e9d0db 100644
--- a/src/document.h
+++ b/src/document.h
@@ -260,7 +260,7 @@ public:
int ensureUpToDate();
bool addResource(char const *key, SPObject *object);
bool removeResource(char const *key, SPObject *object);
- const std::set<SPObject *> getResourceList(char const *key) const;
+ const std::vector<SPObject *> getResourceList(char const *key) const;
std::vector<SPItem*> getItemsInBox(unsigned int dkey, Geom::Rect const &box, bool into_groups = false) const;
std::vector<SPItem*> getItemsPartiallyInBox(unsigned int dkey, Geom::Rect const &box, bool into_groups = false) const;
SPItem *getItemAtPoint(unsigned int key, Geom::Point const &p, bool into_groups, SPItem *upto = NULL) const;