summaryrefslogtreecommitdiffstats
path: root/src/svg
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-06-19 18:55:42 +0000
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-06-19 22:26:34 +0000
commitcf5edc95c552fe32d365f33b77e2213e814a980a (patch)
tree9206667956e077dffe01724924e15d5c52ce423f /src/svg
parentRun clang-tidy’s modernize-redundant-void-arg pass. (diff)
downloadinkscape-cf5edc95c552fe32d365f33b77e2213e814a980a.tar.gz
inkscape-cf5edc95c552fe32d365f33b77e2213e814a980a.zip
Replace functions with methods in SPColor.
Diffstat (limited to 'src/svg')
-rw-r--r--src/svg/svg-color.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/svg/svg-color.cpp b/src/svg/svg-color.cpp
index 32ced67a5..bd742cba0 100644
--- a/src/svg/svg-color.cpp
+++ b/src/svg/svg-color.cpp
@@ -358,7 +358,7 @@ static guint32 internal_sp_svg_read_color(gchar const *str, gchar const **end_pt
gfloat rgb[3];
- sp_color_hsl_to_rgb_floatv( rgb, h, s, l );
+ SPColor::hsl_to_rgb_floatv( rgb, h, s, l );
val = static_cast<guint>(floor(CLAMP(rgb[0], 0.0, 1.0) * 255.9999)) << 24;
val |= (static_cast<guint>(floor(CLAMP(rgb[1], 0.0, 1.0) * 255.9999)) << 16);