diff options
| author | Kris De Gussem <kris.degussem@gmail.com> | 2013-01-22 18:46:36 +0000 |
|---|---|---|
| committer | Kris <Kris.De.Gussem@hotmail.com> | 2013-01-22 18:46:36 +0000 |
| commit | c35fe9c8d780e447dd6e3a8263689ea661a630de (patch) | |
| tree | 7c1c68799e245b11ab6fde92b4dbf36528b9c3a3 /src/extension | |
| parent | fix possible memory leak (diff) | |
| download | inkscape-c35fe9c8d780e447dd6e3a8263689ea661a630de.tar.gz inkscape-c35fe9c8d780e447dd6e3a8263689ea661a630de.zip | |
direct use of Glib::ustring
(bzr r12053)
Diffstat (limited to 'src/extension')
| -rw-r--r-- | src/extension/execution-env.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/extension/execution-env.cpp b/src/extension/execution-env.cpp index 4058fd787..78129cbc5 100644 --- a/src/extension/execution-env.cpp +++ b/src/extension/execution-env.cpp @@ -195,7 +195,7 @@ ExecutionEnv::reselect (void) { Inkscape::Selection * selection = sp_desktop_selection(desktop); for (std::list<Glib::ustring>::iterator i = _selected.begin(); i != _selected.end(); ++i) { - SPObject * obj = doc->getObjectById(i->c_str()); + SPObject * obj = doc->getObjectById(*i); if (obj != NULL) { selection->add(obj); } |
