diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2014-03-24 21:26:34 +0000 |
|---|---|---|
| committer | Johan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl> | 2014-03-24 21:26:34 +0000 |
| commit | 53d32bfc98a277a724732a0bc9df27f0992db125 (patch) | |
| tree | 887703615bbf97e1ae65a5e182574a7dc681fe0e /src/path-chemistry.cpp | |
| parent | Patch for base constructor calls. (diff) | |
| download | inkscape-53d32bfc98a277a724732a0bc9df27f0992db125.tar.gz inkscape-53d32bfc98a277a724732a0bc9df27f0992db125.zip | |
add convenience functions to deal with Glib::ustrings for setting repr attributes
(bzr r13203)
Diffstat (limited to 'src/path-chemistry.cpp')
| -rw-r--r-- | src/path-chemistry.cpp | 4 |
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()); |
