summaryrefslogtreecommitdiffstats
path: root/src/selection.cpp
diff options
context:
space:
mode:
authorOndřej Čertík <ondrej@certik.us>2019-03-27 17:53:49 +0000
committerOndřej Čertík <ondrej@certik.us>2019-03-27 21:56:10 +0000
commit4c89d68f60cdb00abe459829be93d0f446a5e9e7 (patch)
treebdfd64b9832758cecc254b322a312d9d3820c9ad /src/selection.cpp
parentRemove unused code for NEW_EXPORT_DIALOG (diff)
downloadinkscape-4c89d68f60cdb00abe459829be93d0f446a5e9e7.tar.gz
inkscape-4c89d68f60cdb00abe459829be93d0f446a5e9e7.zip
Strip trailing whitespace
Diffstat (limited to 'src/selection.cpp')
-rw-r--r--src/selection.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/selection.cpp b/src/selection.cpp
index 4a5ccf60b..487758d56 100644
--- a/src/selection.cpp
+++ b/src/selection.cpp
@@ -128,7 +128,7 @@ std::vector<Inkscape::SnapCandidatePoint> Selection::getSnapPoints(SnapPreferenc
for (auto iter = items.begin(); iter != items.end(); ++iter) {
SPItem *this_item = *iter;
this_item->getSnappoints(p, &snapprefs_dummy);
-
+
//Include the transformation origin for snapping
//For a selection or group only the overall center is considered, not for each item individually
if (snapprefs->isTargetSnappable(Inkscape::SNAPTARGET_ROTATION_CENTER)) {
@@ -191,7 +191,7 @@ Selection::emptyBackup(){
}
void
-Selection::setBackup ()
+Selection::setBackup ()
{
SPDesktop *desktop = this->desktop();
SPDocument *document = SP_ACTIVE_DOCUMENT;
@@ -219,8 +219,8 @@ Selection::setBackup ()
std::list<Inkscape::UI::SelectableControlPoint *> points_list = cps->_points_list;
for (auto & i : points_list) {
Inkscape::UI::Node *node = dynamic_cast<Inkscape::UI::Node*>(i);
- if (node) {
- std::string id = node->nodeList().subpathList().pm().item()->getId();
+ if (node) {
+ std::string id = node->nodeList().subpathList().pm().item()->getId();
int sp = 0;
bool found_sp = false;
@@ -254,7 +254,7 @@ Selection::setBackup ()
}
void
-Selection::restoreBackup()
+Selection::restoreBackup()
{
SPDesktop *desktop = this->desktop();
SPDocument *document = SP_ACTIVE_DOCUMENT;