diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2014-12-25 19:30:29 +0000 |
|---|---|---|
| committer | tavmjong-free <tavmjong@free.fr> | 2014-12-25 19:30:29 +0000 |
| commit | 05f2f043bdbadefa4ea435981e1a728420d6b93c (patch) | |
| tree | 134097c69539d87e64940ab1a86642daac555281 /src/gradient-chemistry.cpp | |
| parent | Remove sp_style_merge_from_parent() and sp_style_merge_from_dying_parent(). (diff) | |
| download | inkscape-05f2f043bdbadefa4ea435981e1a728420d6b93c.tar.gz inkscape-05f2f043bdbadefa4ea435981e1a728420d6b93c.zip | |
Remove sp_style_new().
(bzr r13822.1.6)
Diffstat (limited to 'src/gradient-chemistry.cpp')
| -rw-r--r-- | src/gradient-chemistry.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gradient-chemistry.cpp b/src/gradient-chemistry.cpp index 0701a9d49..cf75f6cf0 100644 --- a/src/gradient-chemistry.cpp +++ b/src/gradient-chemistry.cpp @@ -868,9 +868,8 @@ void sp_item_gradient_stop_set_style(SPItem *item, GrPointType point_type, guint gchar const* color_str = sp_repr_css_property( stop, "stop-color", NULL ); if( color_str ) { SPColor color( 0 ); - SPStyle* style = sp_style_new(0); SPIPaint paint; - paint.read( color_str, *style ); + paint.read( color_str ); if( paint.isColor() ) { color = paint.value.color; } |
