summaryrefslogtreecommitdiffstats
path: root/src/helper/pixbuf-ops.cpp
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2017-10-20 18:50:29 +0000
committerMarc Jeanmougin <marc@jeanmougin.fr>2017-10-20 18:50:29 +0000
commit683029f31f0f1814c21ca65f7f113ac12b6242fb (patch)
tree4d4adb5dcfc962c4caaebaf6b448cc8b6477a194 /src/helper/pixbuf-ops.cpp
parentMerge branch 'cleanups' of gitlab.com:stfacc/inkscape (diff)
parentRefactor Util::ptr_shared (diff)
downloadinkscape-683029f31f0f1814c21ca65f7f113ac12b6242fb.tar.gz
inkscape-683029f31f0f1814c21ca65f7f113ac12b6242fb.zip
Merge branch 'smartpointer_refactor' of gitlab.com:jali/inkscape
Diffstat (limited to 'src/helper/pixbuf-ops.cpp')
-rw-r--r--src/helper/pixbuf-ops.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/helper/pixbuf-ops.cpp b/src/helper/pixbuf-ops.cpp
index 438a428e6..8d7202111 100644
--- a/src/helper/pixbuf-ops.cpp
+++ b/src/helper/pixbuf-ops.cpp
@@ -15,7 +15,6 @@
#include <config.h>
#endif
-#include <boost/scoped_ptr.hpp>
#include <2geom/transforms.h>
#include "ui/interface.h"
@@ -67,7 +66,7 @@ bool sp_export_jpg_file(SPDocument *doc, gchar const *filename,
unsigned width, unsigned height, double xdpi, double ydpi,
unsigned long bgcolor, double quality, SPItem* item)
{
- boost::scoped_ptr<Inkscape::Pixbuf> pixbuf(
+ std::unique_ptr<Inkscape::Pixbuf> pixbuf(
sp_generate_internal_bitmap(doc, filename, x0, y0, x1, y1,
width, height, xdpi, ydpi, bgcolor, item));