summaryrefslogtreecommitdiffstats
path: root/src/live_effects/parameter/text.cpp
diff options
context:
space:
mode:
authorJabiertxof <jtx@jtx>2016-12-06 20:41:55 +0000
committerJabiertxof <jtx@jtx>2016-12-06 20:41:55 +0000
commitf799b5d6e8278c76326a6fec8da0e017eac342ec (patch)
tree91fa98cf037add28f39673d0886317c31c9e6e46 /src/live_effects/parameter/text.cpp
parentAdd dpiswitcher extension and option to scale legacy documents with it. (diff)
downloadinkscape-f799b5d6e8278c76326a6fec8da0e017eac342ec.tar.gz
inkscape-f799b5d6e8278c76326a6fec8da0e017eac342ec.zip
Fixes for measure LPE and speed path based LPE operations
(bzr r15302)
Diffstat (limited to 'src/live_effects/parameter/text.cpp')
-rw-r--r--src/live_effects/parameter/text.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/live_effects/parameter/text.cpp b/src/live_effects/parameter/text.cpp
index 0650b7e66..8cab68ad0 100644
--- a/src/live_effects/parameter/text.cpp
+++ b/src/live_effects/parameter/text.cpp
@@ -110,7 +110,10 @@ TextParam::param_readSVGValue(const gchar * strvalue)
gchar *
TextParam::param_getSVGValue() const
{
- return g_strdup(value.c_str());
+ Inkscape::SVGOStringStream os;
+ os << value;
+ gchar * str = g_strdup(os.str().c_str());
+ return str;
}
Gtk::Widget *