summaryrefslogtreecommitdiffstats
path: root/src/helper/pixbuf-ops.cpp
diff options
context:
space:
mode:
authorJan Lingscheid <jan.linscheid@auticon.de>2017-10-16 11:28:28 +0000
committerJan Lingscheid <jan.lingscheid@auticon.de>2017-10-17 08:55:00 +0000
commit8ef37560aeca3d38db6603ca573929b19ea90105 (patch)
treeac3ffe8c35b5512d5cb7bf92c6517864d0546c43 /src/helper/pixbuf-ops.cpp
parentRemove std::auto_ptr (diff)
downloadinkscape-8ef37560aeca3d38db6603ca573929b19ea90105.tar.gz
inkscape-8ef37560aeca3d38db6603ca573929b19ea90105.zip
Replace boost::scoped_ptr
This replaces all usage of boost::scoped_ptr with std::unique_ptr. Also removes the corresponding includes.
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));