From 4c89d68f60cdb00abe459829be93d0f446a5e9e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20=C4=8Cert=C3=ADk?= Date: Wed, 27 Mar 2019 11:53:49 -0600 Subject: Strip trailing whitespace --- src/selection.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/selection.cpp') 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 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 points_list = cps->_points_list; for (auto & i : points_list) { Inkscape::UI::Node *node = dynamic_cast(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; -- cgit v1.2.3