summaryrefslogtreecommitdiffstats
path: root/src/desktop-style.cpp
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/desktop-style.cpp
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 '')
-rw-r--r--src/desktop-style.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/desktop-style.cpp b/src/desktop-style.cpp
index 3da49fd37..ae1863723 100644
--- a/src/desktop-style.cpp
+++ b/src/desktop-style.cpp
@@ -589,7 +589,7 @@ objects_query_fillstroke (const std::vector<SPItem*> &objects, SPStyle *style_re
if (paint_res->set && paint_effectively_set && paint->isColor()) {
gfloat d[3];
- sp_color_get_rgb_floatv (&paint->value.color, d);
+ paint->value.color.get_rgb_floatv(d);
// Check if this color is the same as previous
if (paintImpossible) {