summaryrefslogtreecommitdiffstats
path: root/src/path-chemistry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/path-chemistry.cpp')
-rw-r--r--src/path-chemistry.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/path-chemistry.cpp b/src/path-chemistry.cpp
index b613e6afa..22928ccdd 100644
--- a/src/path-chemistry.cpp
+++ b/src/path-chemistry.cpp
@@ -146,9 +146,9 @@ sp_selected_path_combine(SPDesktop *desktop)
if (transform) {
repr->setAttribute("transform", transform);
}
- repr->setAttribute("style", style.c_str());
+ repr->setAttribute("style", style);
- repr->setAttribute("inkscape:path-effect", path_effect.c_str());
+ repr->setAttribute("inkscape:path-effect", path_effect);
// set path data corresponding to new curve
gchar *dstring = sp_svg_write_path(curve->get_pathvector());