summaryrefslogtreecommitdiffstats
path: root/src/vanishing-point.cpp
diff options
context:
space:
mode:
authorAdrian Boguszewski <adrbogus1@student.pg.gda.pl>2016-06-25 20:24:26 +0000
committerAdrian Boguszewski <adrbogus1@student.pg.gda.pl>2016-06-25 20:24:26 +0000
commit1636c1dd1651780d01759676b194312529f211f7 (patch)
tree6f44074639138c4af9e841ffb53c969244f5588e /src/vanishing-point.cpp
parentMerged trunk (diff)
downloadinkscape-1636c1dd1651780d01759676b194312529f211f7.tar.gz
inkscape-1636c1dd1651780d01759676b194312529f211f7.zip
Moved next functions, added namespace, renamed range functions
(bzr r14954.1.10)
Diffstat (limited to 'src/vanishing-point.cpp')
-rw-r--r--src/vanishing-point.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/vanishing-point.cpp b/src/vanishing-point.cpp
index 32ccbad93..a6be353f8 100644
--- a/src/vanishing-point.cpp
+++ b/src/vanishing-point.cpp
@@ -258,7 +258,7 @@ VanishingPoint::set_pos(Proj::Pt2 const &pt) {
std::list<SPBox3D *>
VanishingPoint::selectedBoxes(Inkscape::Selection *sel) {
std::list<SPBox3D *> sel_boxes;
- std::vector<SPItem*> itemlist=sel->itemList();
+ std::vector<SPItem*> itemlist= sel->items();
for (std::vector<SPItem*>::const_iterator i=itemlist.begin();i!=itemlist.end();++i) {
SPItem *item = *i;
SPBox3D *box = dynamic_cast<SPBox3D *>(item);
@@ -397,7 +397,7 @@ VPDragger::VPsOfSelectedBoxes() {
VanishingPoint *vp;
// FIXME: Should we take the selection from the parent VPDrag? I guess it shouldn't make a difference.
Inkscape::Selection *sel = SP_ACTIVE_DESKTOP->getSelection();
- std::vector<SPItem*> itemlist=sel->itemList();
+ std::vector<SPItem*> itemlist= sel->items();
for (std::vector<SPItem*>::const_iterator i=itemlist.begin();i!=itemlist.end();++i) {
SPItem *item = *i;
SPBox3D *box = dynamic_cast<SPBox3D *>(item);
@@ -575,7 +575,7 @@ VPDrag::updateDraggers ()
g_return_if_fail (this->selection != NULL);
- std::vector<SPItem*> itemlist=this->selection->itemList();
+ std::vector<SPItem*> itemlist= this->selection->items();
for (std::vector<SPItem*>::const_iterator i=itemlist.begin();i!=itemlist.end();++i) {
SPItem *item = *i;
SPBox3D *box = dynamic_cast<SPBox3D *>(item);
@@ -607,7 +607,7 @@ VPDrag::updateLines ()
g_return_if_fail (this->selection != NULL);
- std::vector<SPItem*> itemlist=this->selection->itemList();
+ std::vector<SPItem*> itemlist= this->selection->items();
for (std::vector<SPItem*>::const_iterator i=itemlist.begin();i!=itemlist.end();++i) {
SPItem *item = *i;
SPBox3D *box = dynamic_cast<SPBox3D *>(item);
@@ -625,7 +625,7 @@ VPDrag::updateBoxHandles ()
// FIXME: Is there a way to update the knots without accessing the
// (previously) statically linked function KnotHolder::update_knots?
- std::vector<SPItem*> sel = selection->itemList();
+ std::vector<SPItem*> sel = selection->items();
if (sel.empty())
return; // no selection