From: pjrm Date: Wed, 31 Oct 2007 10:37:16 +0000 (+0000) Subject: noop: comment style X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=43f1d702660516fdcc9514764a36775142c8c7a1;p=inkscape.git noop: comment style --- diff --git a/src/selection-chemistry.cpp b/src/selection-chemistry.cpp index f16e8bdce..ce14bd0f5 100644 --- a/src/selection-chemistry.cpp +++ b/src/selection-chemistry.cpp @@ -598,8 +598,7 @@ sp_item_list_common_parent_group(GSList const *items) return SP_GROUP(parent); } -/** Finds out the minimum common bbox of the selected items - */ +/** Finds out the minimum common bbox of the selected items. */ static NR::Maybe enclose_items(GSList const *items) { @@ -649,14 +648,14 @@ sp_selection_raise() Inkscape::XML::Node *grepr = SP_OBJECT_REPR(group); - /* construct reverse-ordered list of selected children */ + /* Construct reverse-ordered list of selected children. */ GSList *rev = g_slist_copy((GSList *) items); rev = g_slist_sort(rev, (GCompareFunc) sp_item_repr_compare_position); - // find out the common bbox of the selected items + // Determine the common bbox of the selected items. NR::Maybe selected = enclose_items(items); - // for all objects in the selection (starting from top) + // Iterate over all objects in the selection (starting from top). if (selected) { while (rev) { SPObject *child = SP_OBJECT(rev->data); @@ -744,15 +743,15 @@ sp_selection_lower() Inkscape::XML::Node *grepr = SP_OBJECT_REPR(group); - // find out the common bbox of the selected items + // Determine the common bbox of the selected items. NR::Maybe selected = enclose_items(items); - /* construct direct-ordered list of selected children */ + /* Construct direct-ordered list of selected children. */ GSList *rev = g_slist_copy((GSList *) items); rev = g_slist_sort(rev, (GCompareFunc) sp_item_repr_compare_position); rev = g_slist_reverse(rev); - // for all objects in the selection (starting from top) + // Iterate over all objects in the selection (starting from top). if (selected) { while (rev) { SPObject *child = SP_OBJECT(rev->data);