summaryrefslogtreecommitdiffstats
path: root/src/splivarot.cpp
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2018-06-21 18:18:15 +0000
committerMarc Jeanmougin <marc@jeanmougin.fr>2018-06-21 18:18:15 +0000
commit74c2ed472c8e5b7070e9702fcf749bb19dadac99 (patch)
treefd617c1a35ab8f2b8add246f95ef00eac857f0b2 /src/splivarot.cpp
parentMerge branch 'transf_mat_3x4' of gitlab.com:linkmauve/inkscape (diff)
parentMove global functions into SPImage methods. (diff)
downloadinkscape-74c2ed472c8e5b7070e9702fcf749bb19dadac99.tar.gz
inkscape-74c2ed472c8e5b7070e9702fcf749bb19dadac99.zip
Merge branch 'sp_print' of gitlab.com:linkmauve/inkscape
Diffstat (limited to 'src/splivarot.cpp')
-rw-r--r--src/splivarot.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/splivarot.cpp b/src/splivarot.cpp
index 7a3971994..081e10da2 100644
--- a/src/splivarot.cpp
+++ b/src/splivarot.cpp
@@ -2559,7 +2559,7 @@ SPCurve* curve_for_item(SPItem *item)
}
else if (SP_IS_IMAGE(item))
{
- curve = sp_image_get_curve(SP_IMAGE(item));
+ curve = SP_IMAGE(item)->get_curve();
}
return curve; // do not forget to unref the curve at some point!
@@ -2584,7 +2584,7 @@ SPCurve* curve_for_item_before_LPE(SPItem *item)
}
else if (SP_IS_IMAGE(item))
{
- curve = sp_image_get_curve(SP_IMAGE(item));
+ curve = SP_IMAGE(item)->get_curve();
}
return curve; // do not forget to unref the curve at some point!