summaryrefslogtreecommitdiffstats
path: root/src/selection.h
diff options
context:
space:
mode:
authormc <>2015-02-18 10:25:23 +0000
committerMarc Jeanmougin <mc>2015-02-18 10:25:23 +0000
commit9e21d00fb1053897420f80d05a9815c5b2bbf312 (patch)
tree9c0f61257c24e936d07526bd4b71a399825519b6 /src/selection.h
parentOMG IT'S COMPILING. (diff)
downloadinkscape-9e21d00fb1053897420f80d05a9815c5b2bbf312.tar.gz
inkscape-9e21d00fb1053897420f80d05a9815c5b2bbf312.zip
I can't really understand why, but i can now launch inkscape without it segfaulting.
That's an improvement. Next thing: code cleaning, replacing containers with vectors (bzr r13922.1.4)
Diffstat (limited to 'src/selection.h')
-rw-r--r--src/selection.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/selection.h b/src/selection.h
index 7171b8742..f85c6346b 100644
--- a/src/selection.h
+++ b/src/selection.h
@@ -260,7 +260,7 @@ public:
/** Returns a list of the xml nodes of all selected objects. */
/// \todo only returns reprs of SPItems currently; need a separate
/// method for that
- std::list<SPObject*> const &reprList();
+ std::vector<XML::Node*> const &reprList();
/** Returns a list of all perspectives which have a 3D box in the current selection.
(these may also be nested in groups) */
@@ -377,7 +377,7 @@ private:
void _releaseContext(SPObject *obj);
mutable std::list<SPObject*> _objs;
- mutable std::list<SPObject*> _reprs;
+ mutable std::vector<XML::Node*> _reprs;
mutable std::list<SPObject*> _items;
void add_box_perspective(SPBox3D *box);