summaryrefslogtreecommitdiffstats
path: root/src/live_effects/parameter/originalitemarray.cpp
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2018-03-03 00:12:41 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2018-03-26 17:48:34 +0000
commit95b1c7b549605d7c6ce6623cc4cd121ed7c51a64 (patch)
tree1c38b4fe6baabbf45c55e0929516dd825f7d6847 /src/live_effects/parameter/originalitemarray.cpp
parentAllow building with USE_PANGO_WIN32. (diff)
downloadinkscape-95b1c7b549605d7c6ce6623cc4cd121ed7c51a64.tar.gz
inkscape-95b1c7b549605d7c6ce6623cc4cd121ed7c51a64.zip
Base LPE refactor
Diffstat (limited to 'src/live_effects/parameter/originalitemarray.cpp')
-rw-r--r--src/live_effects/parameter/originalitemarray.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/live_effects/parameter/originalitemarray.cpp b/src/live_effects/parameter/originalitemarray.cpp
index fe2dc0c8d..b89485e2d 100644
--- a/src/live_effects/parameter/originalitemarray.cpp
+++ b/src/live_effects/parameter/originalitemarray.cpp
@@ -438,8 +438,7 @@ gchar * OriginalItemArrayParam::param_getSVGValue() const
}
os << (*iter)->href << "," << ((*iter)->actived ? "1" : "0");
}
- gchar * str = g_strdup(os.str().c_str());
- return str;
+ return g_strdup(os.str().c_str());
}
gchar * OriginalItemArrayParam::param_getDefaultSVGValue() const