summaryrefslogtreecommitdiffstats
path: root/src/extension/execution-env.cpp
diff options
context:
space:
mode:
authorKris De Gussem <kris.degussem@gmail.com>2013-01-22 18:46:36 +0000
committerKris <Kris.De.Gussem@hotmail.com>2013-01-22 18:46:36 +0000
commitc35fe9c8d780e447dd6e3a8263689ea661a630de (patch)
tree7c1c68799e245b11ab6fde92b4dbf36528b9c3a3 /src/extension/execution-env.cpp
parentfix possible memory leak (diff)
downloadinkscape-c35fe9c8d780e447dd6e3a8263689ea661a630de.tar.gz
inkscape-c35fe9c8d780e447dd6e3a8263689ea661a630de.zip
direct use of Glib::ustring
(bzr r12053)
Diffstat (limited to 'src/extension/execution-env.cpp')
-rw-r--r--src/extension/execution-env.cpp2
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);
}