diff options
| author | Ralf Stephan <ralf@ark.in-berlin.de> | 2006-02-15 19:04:29 +0000 |
|---|---|---|
| committer | rwst <rwst@users.sourceforge.net> | 2006-02-15 19:04:29 +0000 |
| commit | 7b0114087822b9f011d740f1279d1d9ed983a88c (patch) | |
| tree | 159bd147d5a3b2daa65b327dd3f5d0b2e764eeb9 /src/path-chemistry.cpp | |
| parent | fix 1432089: stroke is not drawn not only when it's not set but also when it'... (diff) | |
| download | inkscape-7b0114087822b9f011d740f1279d1d9ed983a88c.tar.gz inkscape-7b0114087822b9f011d740f1279d1d9ed983a88c.zip | |
bulk trailing spaces removal. consistency through MD5 of binary
(bzr r149)
Diffstat (limited to 'src/path-chemistry.cpp')
| -rw-r--r-- | src/path-chemistry.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/path-chemistry.cpp b/src/path-chemistry.cpp index 6a5d876d6..ff346edf9 100644 --- a/src/path-chemistry.cpp +++ b/src/path-chemistry.cpp @@ -161,13 +161,13 @@ sp_selected_path_break_apart (void) SPItem *item = (SPItem *) items->data; - if (!SP_IS_PATH (item)) + if (!SP_IS_PATH (item)) continue; SPPath *path = SP_PATH (item); SPCurve *curve = sp_shape_get_curve (SP_SHAPE (path)); - if (curve == NULL) + if (curve == NULL) continue; did = true; @@ -205,7 +205,7 @@ sp_selected_path_break_apart (void) // add the new repr to the parent parent->appendChild(repr); - // move to the saved position + // move to the saved position repr->setPosition(pos > 0 ? pos : 0); // if it's the first one, restore id @@ -227,7 +227,7 @@ sp_selected_path_break_apart (void) } else { SP_DT_MSGSTACK(desktop)->flash(Inkscape::ERROR_MESSAGE, _("<b>No path(s)</b> to break apart in the selection.")); return; - } + } } /* This function is an entry point from GUI */ @@ -280,7 +280,7 @@ sp_selected_path_to_curves0 (gboolean interactive, guint32 text_grouping_policy) repr->setAttribute("id", id); // add the new repr to the parent parent->appendChild(repr); - // move to the saved position + // move to the saved position repr->setPosition(pos > 0 ? pos : 0); selection->add(repr); @@ -317,7 +317,7 @@ sp_selected_item_to_curved_repr(SPItem * item, guint32 text_grouping_policy) /* Transformation */ repr->setAttribute("transform", SP_OBJECT_REPR (item)->attribute("transform")); /* Style */ - gchar *style_str = sp_style_write_difference (SP_OBJECT_STYLE (item), + gchar *style_str = sp_style_write_difference (SP_OBJECT_STYLE (item), SP_OBJECT_STYLE (SP_OBJECT_PARENT (item))); repr->setAttribute("style", style_str); g_free (style_str); @@ -365,5 +365,5 @@ sp_selected_path_reverse () sp_document_done (SP_DT_DOCUMENT (desktop)); } else { SP_DT_MSGSTACK(desktop)->flash(Inkscape::ERROR_MESSAGE, _("<b>No paths</b> to reverse in the selection.")); - } + } } |
