summaryrefslogtreecommitdiffstats
path: root/src/object/sp-use.cpp
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-06-20 10:34:30 +0000
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-06-21 11:02:56 +0000
commit50b3c18850a43b962ed15855abdb337c846550a8 (patch)
tree147a86fc1d123f44bfd9927448ab2ecf4bfd1bdc /src/object/sp-use.cpp
parentMerge branch 'select-page' of gitlab.com:bobqwatson/inkscape (diff)
downloadinkscape-50b3c18850a43b962ed15855abdb337c846550a8.tar.gz
inkscape-50b3c18850a43b962ed15855abdb337c846550a8.zip
Move global functions into SPPrintContext methods.
Diffstat (limited to 'src/object/sp-use.cpp')
-rw-r--r--src/object/sp-use.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/object/sp-use.cpp b/src/object/sp-use.cpp
index 6ee4be4b2..a73a731f8 100644
--- a/src/object/sp-use.cpp
+++ b/src/object/sp-use.cpp
@@ -216,7 +216,7 @@ void SPUse::print(SPPrintContext* ctx) {
if ((this->x._set && this->x.computed != 0) || (this->y._set && this->y.computed != 0)) {
Geom::Affine tp(Geom::Translate(this->x.computed, this->y.computed));
- sp_print_bind(ctx, tp, 1.0);
+ ctx->bind(tp, 1.0);
translated = true;
}
@@ -225,7 +225,7 @@ void SPUse::print(SPPrintContext* ctx) {
}
if (translated) {
- sp_print_release(ctx);
+ ctx->release();
}
}