summaryrefslogtreecommitdiffstats
path: root/src/svg/svg-length.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2015-12-05 14:40:56 +0000
committertavmjong-free <tavmjong@free.fr>2015-12-05 14:40:56 +0000
commit78005ad417dde6dddab40efacb757b1d6b0c03d0 (patch)
treea827191465ff949ec952b55ffed30fe943cab019 /src/svg/svg-length.cpp
parentadded comment + simpler rounding (diff)
downloadinkscape-78005ad417dde6dddab40efacb757b1d6b0c03d0.tar.gz
inkscape-78005ad417dde6dddab40efacb757b1d6b0c03d0.zip
Handle units in the 'x', 'y', 'dx', and 'dy' text and tspan attributes.
Fixed bugs: - https://launchpad.net/bugs/1522478 - https://launchpad.net/bugs/262528 - https://launchpad.net/bugs/168845 (bzr r14505)
Diffstat (limited to 'src/svg/svg-length.cpp')
-rw-r--r--src/svg/svg-length.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/svg/svg-length.cpp b/src/svg/svg-length.cpp
index edbc59c36..cd995582d 100644
--- a/src/svg/svg-length.cpp
+++ b/src/svg/svg-length.cpp
@@ -463,7 +463,7 @@ unsigned int sp_svg_length_read_ldd(gchar const *str, SVGLength::Unit *unit, dou
return r;
}
-std::string const SVGLength::write()
+std::string SVGLength::write() const
{
return sp_svg_length_write_with_units(*this);
}