summaryrefslogtreecommitdiffstats
path: root/src/selection.cpp
diff options
context:
space:
mode:
authorDiederik van Lierop <mailat-signdiedenrezidotnl>2009-12-30 14:34:51 +0000
committerDiederik van Lierop <mailat-signdiedenrezidotnl>2009-12-30 14:34:51 +0000
commit760e1d9dca7bff3c00758d8efc38f8ba22766e08 (patch)
tree96ed2a38abe420eb10ed234060d5595accd3101f /src/selection.cpp
parentDummy merge to get good version history. (diff)
downloadinkscape-760e1d9dca7bff3c00758d8efc38f8ba22766e08.tar.gz
inkscape-760e1d9dca7bff3c00758d8efc38f8ba22766e08.zip
Small snap bug has been eliminated, flowed text snapping now uses baseline, replacing tabs by spaces, removing some commented lines
(bzr r8925)
Diffstat (limited to 'src/selection.cpp')
-rw-r--r--src/selection.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/selection.cpp b/src/selection.cpp
index 828a96968..7b936587c 100644
--- a/src/selection.cpp
+++ b/src/selection.cpp
@@ -440,7 +440,7 @@ std::vector<std::pair<Geom::Point, int> > Selection::getSnapPoints(SnapPreferenc
//Include the transformation origin for snapping
//For a selection or group only the overall origin is considered
if (snapprefs != NULL && snapprefs->getIncludeItemCenter()) {
- p.push_back(std::make_pair(this_item->getCenter(), SNAPSOURCE_ROTATION_CENTER));
+ p.push_back(std::make_pair(this_item->getCenter(), SNAPSOURCE_ROTATION_CENTER));
}
}
@@ -452,12 +452,12 @@ std::vector<std::pair<Geom::Point, int> > Selection::getSnapPointsConvexHull(Sna
std::vector<std::pair<Geom::Point, int> > p;
for (GSList const *iter = items; iter != NULL; iter = iter->next) {
- sp_item_snappoints(SP_ITEM(iter->data), false, p, snapprefs);
+ sp_item_snappoints(SP_ITEM(iter->data), false, p, snapprefs);
}
std::vector<std::pair<Geom::Point, int> > pHull;
if (!p.empty()) {
- std::vector<std::pair<Geom::Point, int> >::iterator i;
+ std::vector<std::pair<Geom::Point, int> >::iterator i;
Geom::RectHull cvh((p.front()).first);
for (i = p.begin(); i != p.end(); i++) {
// these are the points we get back