summaryrefslogtreecommitdiffstats
path: root/src/path-chemistry.cpp
diff options
context:
space:
mode:
authorPeter Moulder <peter.moulder@monash.edu>2006-03-09 06:59:43 +0000
committerpjrm <pjrm@users.sourceforge.net>2006-03-09 06:59:43 +0000
commit08fa3e31411fe20f68663425d3021897ca7c53c3 (patch)
tree97255c1b58cf2479aebe8bfb3c9336b1b16c1e15 /src/path-chemistry.cpp
parentupdate from Matiphas (diff)
downloadinkscape-08fa3e31411fe20f68663425d3021897ca7c53c3.tar.gz
inkscape-08fa3e31411fe20f68663425d3021897ca7c53c3.zip
CodingStyle: const placement
(bzr r217)
Diffstat (limited to 'src/path-chemistry.cpp')
-rw-r--r--src/path-chemistry.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/path-chemistry.cpp b/src/path-chemistry.cpp
index ff346edf9..280447b29 100644
--- a/src/path-chemistry.cpp
+++ b/src/path-chemistry.cpp
@@ -84,7 +84,7 @@ sp_selected_path_combine (void)
gint topmost = (SP_OBJECT_REPR ((SPItem *) g_slist_last(items)->data))->position();
// remember the id of the bottomost object
- const char *id = SP_OBJECT_REPR ((SPItem *) items->data)->attribute("id");
+ char const *id = SP_OBJECT_REPR ((SPItem *) items->data)->attribute("id");
// FIXME: merge styles of combined objects instead of using the first one's style
gchar *style = g_strdup (SP_OBJECT_REPR ((SPItem *) items->data)->attribute("style"));
@@ -174,7 +174,7 @@ sp_selected_path_break_apart (void)
Inkscape::XML::Node *parent = SP_OBJECT_REPR (item)->parent();
gint pos = SP_OBJECT_REPR (item)->position();
- const char *id = SP_OBJECT_REPR (item)->attribute("id");
+ char const *id = SP_OBJECT_REPR (item)->attribute("id");
gchar *style = g_strdup (SP_OBJECT (item)->repr->attribute("style"));
@@ -269,7 +269,7 @@ sp_selected_path_to_curves0 (gboolean interactive, guint32 text_grouping_policy)
// remember parent
Inkscape::XML::Node *parent = SP_OBJECT_REPR (item)->parent();
// remember id
- const char *id = SP_OBJECT_REPR (item)->attribute("id");
+ char const *id = SP_OBJECT_REPR (item)->attribute("id");
selection->remove(item);