diff options
| author | Marc Jeanmougin <marc@jeanmougin.fr> | 2018-06-21 18:18:15 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marc@jeanmougin.fr> | 2018-06-21 18:18:15 +0000 |
| commit | 74c2ed472c8e5b7070e9702fcf749bb19dadac99 (patch) | |
| tree | fd617c1a35ab8f2b8add246f95ef00eac857f0b2 /src/object/sp-use.cpp | |
| parent | Merge branch 'transf_mat_3x4' of gitlab.com:linkmauve/inkscape (diff) | |
| parent | Move global functions into SPImage methods. (diff) | |
| download | inkscape-74c2ed472c8e5b7070e9702fcf749bb19dadac99.tar.gz inkscape-74c2ed472c8e5b7070e9702fcf749bb19dadac99.zip | |
Merge branch 'sp_print' of gitlab.com:linkmauve/inkscape
Diffstat (limited to 'src/object/sp-use.cpp')
| -rw-r--r-- | src/object/sp-use.cpp | 4 |
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(); } } |
