summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-09-24 10:22:58 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-09-24 16:54:36 +0000
commitb71ba617e5c55ef4e98443fa10990b85665801fc (patch)
treef50810bbc4ccf1c80648bb98d09d0bf0068c6f42
parentcomphelper: replace for_each with range-based for (diff)
downloadcore-b71ba617e5c55ef4e98443fa10990b85665801fc.tar.gz
core-b71ba617e5c55ef4e98443fa10990b85665801fc.zip
sd/source/ui/inc boost::scoped_ptr->std::unique_ptr
Change-Id: Icf32ccd437c97dfa0ac3a569a3f2ec2b746ac300 Reviewed-on: https://gerrit.libreoffice.org/18822 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--sd/source/ui/annotations/annotationmanager.cxx1
-rw-r--r--sd/source/ui/annotations/annotationwindow.cxx1
-rw-r--r--sd/source/ui/app/sdmod1.cxx1
-rw-r--r--sd/source/ui/docshell/docshel3.cxx1
-rw-r--r--sd/source/ui/framework/configuration/ConfigurationController.cxx1
-rw-r--r--sd/source/ui/framework/module/ShellStackGuard.hxx1
-rw-r--r--sd/source/ui/framework/module/ToolBarModule.hxx1
-rw-r--r--sd/source/ui/framework/tools/FrameworkHelper.cxx1
-rw-r--r--sd/source/ui/func/fuarea.cxx1
-rw-r--r--sd/source/ui/func/fubullet.cxx1
-rw-r--r--sd/source/ui/func/fuchar.cxx1
-rw-r--r--sd/source/ui/func/fuconnct.cxx1
-rw-r--r--sd/source/ui/func/fucopy.cxx1
-rw-r--r--sd/source/ui/func/fucushow.cxx1
-rw-r--r--sd/source/ui/func/fuinsert.cxx1
-rw-r--r--sd/source/ui/func/fuinsfil.cxx1
-rw-r--r--sd/source/ui/func/fuline.cxx1
-rw-r--r--sd/source/ui/func/fulinend.cxx1
-rw-r--r--sd/source/ui/func/fulink.cxx1
-rw-r--r--sd/source/ui/func/fumeasur.cxx1
-rw-r--r--sd/source/ui/func/fumorph.cxx1
-rw-r--r--sd/source/ui/func/fuoaprms.cxx1
-rw-r--r--sd/source/ui/func/fuolbull.cxx1
-rw-r--r--sd/source/ui/func/fuoltext.cxx1
-rw-r--r--sd/source/ui/func/fupage.cxx1
-rw-r--r--sd/source/ui/func/fuparagr.cxx1
-rw-r--r--sd/source/ui/func/fuprlout.cxx1
-rw-r--r--sd/source/ui/func/fuprobjs.cxx1
-rw-r--r--sd/source/ui/func/fuscale.cxx1
-rw-r--r--sd/source/ui/func/fusldlg.cxx1
-rw-r--r--sd/source/ui/func/fusnapln.cxx1
-rw-r--r--sd/source/ui/func/futempl.cxx1
-rw-r--r--sd/source/ui/func/futransf.cxx1
-rw-r--r--sd/source/ui/func/futxtatt.cxx1
-rw-r--r--sd/source/ui/func/fuvect.cxx1
-rw-r--r--sd/source/ui/presenter/PresenterTextView.hxx1
-rw-r--r--sd/source/ui/sidebar/MasterPagesSelector.cxx1
-rw-r--r--sd/source/ui/slidesorter/inc/controller/SlideSorterController.hxx1
-rw-r--r--sd/source/ui/slidesorter/inc/view/SlsLayouter.hxx1
-rw-r--r--sd/source/ui/slidesorter/shell/SlideSorterService.hxx1
-rw-r--r--sd/source/ui/slidesorter/view/SlsLayeredDevice.hxx1
-rw-r--r--sd/source/ui/table/tablefunction.cxx1
-rw-r--r--sd/source/ui/table/tableobjectbar.cxx1
-rw-r--r--sd/source/ui/tools/PreviewRenderer.cxx1
-rw-r--r--sd/source/ui/view/DocumentRenderer.cxx1
-rw-r--r--sd/source/ui/view/MediaObjectBar.cxx1
-rw-r--r--sd/source/ui/view/drtxtob1.cxx1
-rw-r--r--sd/source/ui/view/drviews2.cxx1
-rw-r--r--sd/source/ui/view/drviews3.cxx1
-rw-r--r--sd/source/ui/view/drviews4.cxx1
-rw-r--r--sd/source/ui/view/drviews9.cxx1
-rw-r--r--sd/source/ui/view/drviewsa.cxx1
-rw-r--r--sd/source/ui/view/drviewsf.cxx1
-rw-r--r--sd/source/ui/view/outlnvs2.cxx1
-rw-r--r--sd/source/ui/view/outlnvsh.cxx1
-rw-r--r--sd/source/ui/view/sdview.cxx1
-rw-r--r--sd/source/ui/view/sdview2.cxx1
-rw-r--r--sd/source/ui/view/sdview3.cxx1
58 files changed, 58 insertions, 0 deletions
diff --git a/sd/source/ui/annotations/annotationmanager.cxx b/sd/source/ui/annotations/annotationmanager.cxx
index beb7d1673d30..780fb20dde40 100644
--- a/sd/source/ui/annotations/annotationmanager.cxx
+++ b/sd/source/ui/annotations/annotationmanager.cxx
@@ -82,6 +82,7 @@
#include "optsitem.hxx"
#include <memory>
+#include <boost/scoped_ptr.hpp>
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
diff --git a/sd/source/ui/annotations/annotationwindow.cxx b/sd/source/ui/annotations/annotationwindow.cxx
index 73dd9e8c27b4..fe4320c46c99 100644
--- a/sd/source/ui/annotations/annotationwindow.cxx
+++ b/sd/source/ui/annotations/annotationwindow.cxx
@@ -86,6 +86,7 @@
#include "sdresid.hxx"
#include <memory>
+#include <boost/scoped_ptr.hpp>
using namespace ::sd;
using namespace ::com::sun::star;
diff --git a/sd/source/ui/app/sdmod1.cxx b/sd/source/ui/app/sdmod1.cxx
index 99dfffd564a6..3d431a349aac 100644
--- a/sd/source/ui/app/sdmod1.cxx
+++ b/sd/source/ui/app/sdmod1.cxx
@@ -60,6 +60,7 @@
#include "FactoryIds.hxx"
#include "sdabstdlg.hxx"
#include <memory>
+#include <boost/scoped_ptr.hpp>
#include "slideshow.hxx"
#include <com/sun/star/document/XDocumentPropertiesSupplier.hpp>
diff --git a/sd/source/ui/docshell/docshel3.cxx b/sd/source/ui/docshell/docshel3.cxx
index eb4ad85d6fb2..a0d453163f50 100644
--- a/sd/source/ui/docshell/docshel3.cxx
+++ b/sd/source/ui/docshell/docshel3.cxx
@@ -57,6 +57,7 @@
#include "slideshow.hxx"
#include "fuhhconv.hxx"
#include <memory>
+#include <boost/scoped_ptr.hpp>
using namespace ::com::sun::star;
using namespace ::com::sun::star::beans;
diff --git a/sd/source/ui/framework/configuration/ConfigurationController.cxx b/sd/source/ui/framework/configuration/ConfigurationController.cxx
index 7d62e76a6c24..d6b221577497 100644
--- a/sd/source/ui/framework/configuration/ConfigurationController.cxx
+++ b/sd/source/ui/framework/configuration/ConfigurationController.cxx
@@ -36,6 +36,7 @@
#include <osl/mutex.hxx>
#include <vcl/svapp.hxx>
+#include <boost/scoped_ptr.hpp>
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
diff --git a/sd/source/ui/framework/module/ShellStackGuard.hxx b/sd/source/ui/framework/module/ShellStackGuard.hxx
index 7842bbc594dc..f2a5f37967b8 100644
--- a/sd/source/ui/framework/module/ShellStackGuard.hxx
+++ b/sd/source/ui/framework/module/ShellStackGuard.hxx
@@ -32,6 +32,7 @@
#include <vcl/idle.hxx>
#include <cppuhelper/compbase.hxx>
#include <memory>
+#include <boost/scoped_ptr.hpp>
namespace {
diff --git a/sd/source/ui/framework/module/ToolBarModule.hxx b/sd/source/ui/framework/module/ToolBarModule.hxx
index 3215a75bdde2..cffc42e553b2 100644
--- a/sd/source/ui/framework/module/ToolBarModule.hxx
+++ b/sd/source/ui/framework/module/ToolBarModule.hxx
@@ -29,6 +29,7 @@
#include <cppuhelper/basemutex.hxx>
#include <cppuhelper/compbase.hxx>
#include <memory>
+#include <boost/scoped_ptr.hpp>
namespace sd {
class ViewShellBase;
diff --git a/sd/source/ui/framework/tools/FrameworkHelper.cxx b/sd/source/ui/framework/tools/FrameworkHelper.cxx
index c35a47020344..b71542430dbf 100644
--- a/sd/source/ui/framework/tools/FrameworkHelper.cxx
+++ b/sd/source/ui/framework/tools/FrameworkHelper.cxx
@@ -43,6 +43,7 @@
#include <osl/doublecheckedlocking.h>
#include <osl/getglobalmutex.hxx>
#include <tools/diagnose_ex.h>
+#include <memory>
#include <unordered_map>
using namespace ::com::sun::star;
diff --git a/sd/source/ui/func/fuarea.cxx b/sd/source/ui/func/fuarea.cxx
index 33d94763642a..9b3164d54515 100644
--- a/sd/source/ui/func/fuarea.cxx
+++ b/sd/source/ui/func/fuarea.cxx
@@ -35,6 +35,7 @@
#include <svx/svxdlg.hxx>
#include <svx/dialogs.hrc>
#include <memory>
+#include <boost/scoped_ptr.hpp>
namespace sd {
TYPEINIT1( FuArea, FuPoor );
diff --git a/sd/source/ui/func/fubullet.cxx b/sd/source/ui/func/fubullet.cxx
index 42482d30ea17..0295ef306b8c 100644
--- a/sd/source/ui/func/fubullet.cxx
+++ b/sd/source/ui/func/fubullet.cxx
@@ -39,6 +39,7 @@
#include <svx/dialogs.hrc>
#include "drawview.hxx"
#include <memory>
+#include <boost/scoped_ptr.hpp>
#include "app.hrc"
diff --git a/sd/source/ui/func/fuchar.cxx b/sd/source/ui/func/fuchar.cxx
index 7ae1866d7a61..5dca0ec1bf0e 100644
--- a/sd/source/ui/func/fuchar.cxx
+++ b/sd/source/ui/func/fuchar.cxx
@@ -35,6 +35,7 @@
#include "DrawDocShell.hxx"
#include "sdabstdlg.hxx"
#include <memory>
+#include <boost/scoped_ptr.hpp>
namespace sd {
diff --git a/sd/source/ui/func/fuconnct.cxx b/sd/source/ui/func/fuconnct.cxx
index 1ce1bc37fb4a..f9f445d64291 100644
--- a/sd/source/ui/func/fuconnct.cxx
+++ b/sd/source/ui/func/fuconnct.cxx
@@ -26,6 +26,7 @@
#include <svx/svxdlg.hxx>
#include <svx/dialogs.hrc>
#include <memory>
+#include <boost/scoped_ptr.hpp>
namespace sd {
diff --git a/sd/source/ui/func/fucopy.cxx b/sd/source/ui/func/fucopy.cxx
index 30501b5609f8..8c47464d4128 100644
--- a/sd/source/ui/func/fucopy.cxx
+++ b/sd/source/ui/func/fucopy.cxx
@@ -39,6 +39,7 @@
#include <sfx2/request.hxx>
#include "sdabstdlg.hxx"
#include <memory>
+#include <boost/scoped_ptr.hpp>
using namespace com::sun::star;
diff --git a/sd/source/ui/func/fucushow.cxx b/sd/source/ui/func/fucushow.cxx
index b1843c4f3e90..3f62a813feb9 100644
--- a/sd/source/ui/func/fucushow.cxx
+++ b/sd/source/ui/func/fucushow.cxx
@@ -32,6 +32,7 @@
#include "sdabstdlg.hxx"
#include <memory>
+#include <boost/scoped_ptr.hpp>
namespace sd {
diff --git a/sd/source/ui/func/fuinsert.cxx b/sd/source/ui/func/fuinsert.cxx
index f7f1622874a3..b4c2755a2537 100644
--- a/sd/source/ui/func/fuinsert.cxx
+++ b/sd/source/ui/func/fuinsert.cxx
@@ -83,6 +83,7 @@
#include <vcl/svapp.hxx>
#include "undo/undoobjects.hxx"
#include <memory>
+#include <boost/scoped_ptr.hpp>
#include "glob.hrc"
#include <config_features.h>
diff --git a/sd/source/ui/func/fuinsfil.cxx b/sd/source/ui/func/fuinsfil.cxx
index bcbcabbfd45e..d93e58db9c8e 100644
--- a/sd/source/ui/func/fuinsfil.cxx
+++ b/sd/source/ui/func/fuinsfil.cxx
@@ -63,6 +63,7 @@
#include "Outliner.hxx"
#include "sdabstdlg.hxx"
#include <memory>
+#include <boost/scoped_ptr.hpp>
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::uno;
diff --git a/sd/source/ui/func/fuline.cxx b/sd/source/ui/func/fuline.cxx
index e95a0e8e7221..74d224d47a38 100644
--- a/sd/source/ui/func/fuline.cxx
+++ b/sd/source/ui/func/fuline.cxx
@@ -37,6 +37,7 @@
#include <svx/svxdlg.hxx>
#include <svx/dialogs.hrc>
#include <memory>
+#include <boost/scoped_ptr.hpp>
namespace sd {
diff --git a/sd/source/ui/func/fulinend.cxx b/sd/source/ui/func/fulinend.cxx
index 788b5185dd4b..034109a88c03 100644
--- a/sd/source/ui/func/fulinend.cxx
+++ b/sd/source/ui/func/fulinend.cxx
@@ -33,6 +33,7 @@
#include "View.hxx"
#include "Window.hxx"
#include <memory>
+#include <boost/scoped_ptr.hpp>
namespace sd {
diff --git a/sd/source/ui/func/fulink.cxx b/sd/source/ui/func/fulink.cxx
index 920f8b686135..a1e9b12fa8b1 100644
--- a/sd/source/ui/func/fulink.cxx
+++ b/sd/source/ui/func/fulink.cxx
@@ -30,6 +30,7 @@
#include "ViewShell.hxx"
#include "app.hrc"
#include <memory>
+#include <boost/scoped_ptr.hpp>
class SfxRequest;
diff --git a/sd/source/ui/func/fumeasur.cxx b/sd/source/ui/func/fumeasur.cxx
index aa8fcc9283d8..69de5a59cef9 100644
--- a/sd/source/ui/func/fumeasur.cxx
+++ b/sd/source/ui/func/fumeasur.cxx
@@ -26,6 +26,7 @@
#include <svx/svxdlg.hxx>
#include <svx/dialogs.hrc>
#include <memory>
+#include <boost/scoped_ptr.hpp>
namespace sd {
diff --git a/sd/source/ui/func/fumorph.cxx b/sd/source/ui/func/fumorph.cxx
index 0ed4ee9242a5..c34e6cf95a2d 100644
--- a/sd/source/ui/func/fumorph.cxx
+++ b/sd/source/ui/func/fumorph.cxx
@@ -45,6 +45,7 @@
#include <basegfx/color/bcolor.hxx>
#include <com/sun/star/drawing/LineStyle.hpp>
#include <memory>
+#include <boost/scoped_ptr.hpp>
using namespace com::sun::star;
diff --git a/sd/source/ui/func/fuoaprms.cxx b/sd/source/ui/func/fuoaprms.cxx
index bc066e419142..061f6909b685 100644
--- a/sd/source/ui/func/fuoaprms.cxx
+++ b/sd/source/ui/func/fuoaprms.cxx
@@ -45,6 +45,7 @@
#include <tools/helpers.hxx>
#include <basegfx/polygon/b2dpolygon.hxx>
#include <memory>
+#include <boost/scoped_ptr.hpp>
using namespace ::com::sun::star;
diff --git a/sd/source/ui/func/fuolbull.cxx b/sd/source/ui/func/fuolbull.cxx
index fdfaa127e8c5..06d76b1cad9f 100644
--- a/sd/source/ui/func/fuolbull.cxx
+++ b/sd/source/ui/func/fuolbull.cxx
@@ -39,6 +39,7 @@
#include <svx/nbdtmgfact.hxx>
#include <svx/svdoutl.hxx>
#include <memory>
+#include <boost/scoped_ptr.hpp>
using namespace svx::sidebar;
namespace sd {
diff --git a/sd/source/ui/func/fuoltext.cxx b/sd/source/ui/func/fuoltext.cxx
index b8bd1830dfdb..6938a4bb61e2 100644
--- a/sd/source/ui/func/fuoltext.cxx
+++ b/sd/source/ui/func/fuoltext.cxx
@@ -36,6 +36,7 @@
#include "OutlineViewShell.hxx"
#include <memory>
+#include <boost/scoped_ptr.hpp>
#include <stdio.h>
diff --git a/sd/source/ui/func/fupage.cxx b/sd/source/ui/func/fupage.cxx
index 52140e68ad06..bf4fcef1fea1 100644
--- a/sd/source/ui/func/fupage.cxx
+++ b/sd/source/ui/func/fupage.cxx
@@ -68,6 +68,7 @@
#include "helpids.h"
#include <memory>
+#include <boost/scoped_ptr.hpp>
using namespace com::sun::star;
diff --git a/sd/source/ui/func/fuparagr.cxx b/sd/source/ui/func/fuparagr.cxx
index 7d8a313f1efb..f5c872c2b750 100644
--- a/sd/source/ui/func/fuparagr.cxx
+++ b/sd/source/ui/func/fuparagr.cxx
@@ -35,6 +35,7 @@
#include "sdabstdlg.hxx"
#include "sdattr.hrc"
#include <memory>
+#include <boost/scoped_ptr.hpp>
namespace sd {
diff --git a/sd/source/ui/func/fuprlout.cxx b/sd/source/ui/func/fuprlout.cxx
index d4748e1b07fe..cbab83f965e7 100644
--- a/sd/source/ui/func/fuprlout.cxx
+++ b/sd/source/ui/func/fuprlout.cxx
@@ -53,6 +53,7 @@
#include <editeng/editdata.hxx>
#include "sdabstdlg.hxx"
#include <memory>
+#include <boost/scoped_ptr.hpp>
namespace sd
{
diff --git a/sd/source/ui/func/fuprobjs.cxx b/sd/source/ui/func/fuprobjs.cxx
index 07bcceaedb54..bdafd22a2260 100644
--- a/sd/source/ui/func/fuprobjs.cxx
+++ b/sd/source/ui/func/fuprobjs.cxx
@@ -40,6 +40,7 @@
#include "unchss.hxx"
#include "sdabstdlg.hxx"
#include <memory>
+#include <boost/scoped_ptr.hpp>
namespace sd {
diff --git a/sd/source/ui/func/fuscale.cxx b/sd/source/ui/func/fuscale.cxx
index d83261017846..6697f6f0f6cc 100644
--- a/sd/source/ui/func/fuscale.cxx
+++ b/sd/source/ui/func/fuscale.cxx
@@ -40,6 +40,7 @@
#include <sfx2/request.hxx>
#include <svx/svxdlg.hxx>
#include <memory>
+#include <boost/scoped_ptr.hpp>
namespace sd {
diff --git a/sd/source/ui/func/fusldlg.cxx b/sd/source/ui/func/fusldlg.cxx
index 3daffe361530..633eac151a90 100644
--- a/sd/source/ui/func/fusldlg.cxx
+++ b/sd/source/ui/func/fusldlg.cxx
@@ -33,6 +33,7 @@
#include "optsitem.hxx"
#include "sdabstdlg.hxx"
#include <memory>
+#include <boost/scoped_ptr.hpp>
namespace sd {
diff --git a/sd/source/ui/func/fusnapln.cxx b/sd/source/ui/func/fusnapln.cxx
index c455db2c319e..cca0a5d50995 100644
--- a/sd/source/ui/func/fusnapln.cxx
+++ b/sd/source/ui/func/fusnapln.cxx
@@ -36,6 +36,7 @@
#include "app.hrc"
#include <svx/svdpagv.hxx>
#include <memory>
+#include <boost/scoped_ptr.hpp>
namespace sd {
diff --git a/sd/source/ui/func/futempl.cxx b/sd/source/ui/func/futempl.cxx
index 3d422127b9e5..199a2603547d 100644
--- a/sd/source/ui/func/futempl.cxx
+++ b/sd/source/ui/func/futempl.cxx
@@ -66,6 +66,7 @@
#include "helpids.h"
#include "sdabstdlg.hxx"
#include <memory>
+#include <boost/scoped_ptr.hpp>
using namespace com::sun::star::uno;
using namespace com::sun::star::container;
diff --git a/sd/source/ui/func/futransf.cxx b/sd/source/ui/func/futransf.cxx
index 5bcc17a0b470..671b23a5233e 100644
--- a/sd/source/ui/func/futransf.cxx
+++ b/sd/source/ui/func/futransf.cxx
@@ -32,6 +32,7 @@
#include <svx/svxdlg.hxx>
#include <memory>
+#include <boost/scoped_ptr.hpp>
namespace sd {
diff --git a/sd/source/ui/func/futxtatt.cxx b/sd/source/ui/func/futxtatt.cxx
index 367b1ec8d695..60f0bb577613 100644
--- a/sd/source/ui/func/futxtatt.cxx
+++ b/sd/source/ui/func/futxtatt.cxx
@@ -27,6 +27,7 @@
#include "ViewShell.hxx"
#include "drawdoc.hxx"
#include <memory>
+#include <boost/scoped_ptr.hpp>
namespace sd {
diff --git a/sd/source/ui/func/fuvect.cxx b/sd/source/ui/func/fuvect.cxx
index 1beb9ce9b3b4..abe47ca63677 100644
--- a/sd/source/ui/func/fuvect.cxx
+++ b/sd/source/ui/func/fuvect.cxx
@@ -30,6 +30,7 @@
#include "sdresid.hxx"
#include "sdabstdlg.hxx"
#include <memory>
+#include <boost/scoped_ptr.hpp>
namespace sd
{
diff --git a/sd/source/ui/presenter/PresenterTextView.hxx b/sd/source/ui/presenter/PresenterTextView.hxx
index 788835c01eac..6a0a93d427e6 100644
--- a/sd/source/ui/presenter/PresenterTextView.hxx
+++ b/sd/source/ui/presenter/PresenterTextView.hxx
@@ -27,6 +27,7 @@
#include <cppuhelper/implbase.hxx>
#include <boost/noncopyable.hpp>
#include <memory>
+#include <boost/scoped_ptr.hpp>
namespace com { namespace sun { namespace star { namespace uno {
class XComponentContext;
diff --git a/sd/source/ui/sidebar/MasterPagesSelector.cxx b/sd/source/ui/sidebar/MasterPagesSelector.cxx
index 93d9385093d7..19d6ad792fb8 100644
--- a/sd/source/ui/sidebar/MasterPagesSelector.cxx
+++ b/sd/source/ui/sidebar/MasterPagesSelector.cxx
@@ -59,6 +59,7 @@
#include <sfx2/request.hxx>
#include <svl/itempool.hxx>
#include <sfx2/sidebar/Theme.hxx>
+#include <boost/scoped_ptr.hpp>
using namespace ::com::sun::star::text;
diff --git a/sd/source/ui/slidesorter/inc/controller/SlideSorterController.hxx b/sd/source/ui/slidesorter/inc/controller/SlideSorterController.hxx
index 2cc53a382d37..1c4bbc68fbed 100644
--- a/sd/source/ui/slidesorter/inc/controller/SlideSorterController.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlideSorterController.hxx
@@ -31,6 +31,7 @@
#include <tools/gen.hxx>
#include <memory>
+#include <boost/scoped_ptr.hpp>
namespace sd { namespace slidesorter {
class SlideSorter;
diff --git a/sd/source/ui/slidesorter/inc/view/SlsLayouter.hxx b/sd/source/ui/slidesorter/inc/view/SlsLayouter.hxx
index f5c5565d1326..9a6e46389468 100644
--- a/sd/source/ui/slidesorter/inc/view/SlsLayouter.hxx
+++ b/sd/source/ui/slidesorter/inc/view/SlsLayouter.hxx
@@ -28,6 +28,7 @@
#include <vcl/mapmod.hxx>
#include <vector>
#include <utility>
+#include <boost/scoped_ptr.hpp>
class Size;
diff --git a/sd/source/ui/slidesorter/shell/SlideSorterService.hxx b/sd/source/ui/slidesorter/shell/SlideSorterService.hxx
index c29b28f7bb32..b001f5e12433 100644
--- a/sd/source/ui/slidesorter/shell/SlideSorterService.hxx
+++ b/sd/source/ui/slidesorter/shell/SlideSorterService.hxx
@@ -33,6 +33,7 @@
#include <cppuhelper/propshlp.hxx>
#include <boost/noncopyable.hpp>
#include <memory>
+#include <boost/scoped_ptr.hpp>
namespace sd { namespace slidesorter {
diff --git a/sd/source/ui/slidesorter/view/SlsLayeredDevice.hxx b/sd/source/ui/slidesorter/view/SlsLayeredDevice.hxx
index de7f06eb4f57..1e4bdd8568fd 100644
--- a/sd/source/ui/slidesorter/view/SlsLayeredDevice.hxx
+++ b/sd/source/ui/slidesorter/view/SlsLayeredDevice.hxx
@@ -29,6 +29,7 @@
#include <boost/noncopyable.hpp>
#include <memory>
#include <vector>
+#include <boost/scoped_ptr.hpp>
class Rectangle;
diff --git a/sd/source/ui/table/tablefunction.cxx b/sd/source/ui/table/tablefunction.cxx
index 89480fd85fbb..f588159edc1c 100644
--- a/sd/source/ui/table/tablefunction.cxx
+++ b/sd/source/ui/table/tablefunction.cxx
@@ -64,6 +64,7 @@
#include "undo/undoobjects.hxx"
#include <memory>
+#include <boost/scoped_ptr.hpp>
using namespace ::sd;
using namespace sdr::table;
diff --git a/sd/source/ui/table/tableobjectbar.cxx b/sd/source/ui/table/tableobjectbar.cxx
index f13affa35425..44b33af2d254 100644
--- a/sd/source/ui/table/tableobjectbar.cxx
+++ b/sd/source/ui/table/tableobjectbar.cxx
@@ -51,6 +51,7 @@
#include "tableobjectbar.hxx"
#include <memory>
+#include <boost/scoped_ptr.hpp>
using namespace sd;
using namespace sd::ui::table;
diff --git a/sd/source/ui/tools/PreviewRenderer.cxx b/sd/source/ui/tools/PreviewRenderer.cxx
index e7d41f500bad..1aedf81f6d6a 100644
--- a/sd/source/ui/tools/PreviewRenderer.cxx
+++ b/sd/source/ui/tools/PreviewRenderer.cxx
@@ -37,6 +37,7 @@
#include <svx/sdr/contact/viewcontact.hxx>
#include <memory>
+#include <boost/scoped_ptr.hpp>
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
diff --git a/sd/source/ui/view/DocumentRenderer.cxx b/sd/source/ui/view/DocumentRenderer.cxx
index cf703431b7e2..0f78fda988cb 100644
--- a/sd/source/ui/view/DocumentRenderer.cxx
+++ b/sd/source/ui/view/DocumentRenderer.cxx
@@ -52,6 +52,7 @@
#include <unotools/moduleoptions.hxx>
#include <vector>
+#include <boost/scoped_ptr.hpp>
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
diff --git a/sd/source/ui/view/MediaObjectBar.cxx b/sd/source/ui/view/MediaObjectBar.cxx
index e24ca7c3a45a..2ea5f2457f12 100644
--- a/sd/source/ui/view/MediaObjectBar.cxx
+++ b/sd/source/ui/view/MediaObjectBar.cxx
@@ -40,6 +40,7 @@
#include "sdresid.hxx"
#include "drawdoc.hxx"
#include <memory>
+#include <boost/scoped_ptr.hpp>
using namespace sd;
diff --git a/sd/source/ui/view/drtxtob1.cxx b/sd/source/ui/view/drtxtob1.cxx
index a7ca40fc2fdd..f0623d9bf6d6 100644
--- a/sd/source/ui/view/drtxtob1.cxx
+++ b/sd/source/ui/view/drtxtob1.cxx
@@ -73,6 +73,7 @@
#include "futext.hxx"
#include <memory>
+#include <boost/scoped_ptr.hpp>
namespace sd {
diff --git a/sd/source/ui/view/drviews2.cxx b/sd/source/ui/view/drviews2.cxx
index 875a63424d1f..7d4cc30f9af0 100644
--- a/sd/source/ui/view/drviews2.cxx
+++ b/sd/source/ui/view/drviews2.cxx
@@ -172,6 +172,7 @@
#include "ViewShellBase.hxx"
#include <memory>
+#include <boost/scoped_ptr.hpp>
namespace {
const char CustomAnimationPanelId[] = "CustomAnimationPanel";
diff --git a/sd/source/ui/view/drviews3.cxx b/sd/source/ui/view/drviews3.cxx
index 53983b941e0e..ea1b14192f5d 100644
--- a/sd/source/ui/view/drviews3.cxx
+++ b/sd/source/ui/view/drviews3.cxx
@@ -85,6 +85,7 @@
#include <editeng/lspcitem.hxx>
#include <editeng/ulspitem.hxx>
#include <memory>
+#include <boost/scoped_ptr.hpp>
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::drawing::framework;
diff --git a/sd/source/ui/view/drviews4.cxx b/sd/source/ui/view/drviews4.cxx
index 0f0ea320f1d6..0f19ec7a54ec 100644
--- a/sd/source/ui/view/drviews4.cxx
+++ b/sd/source/ui/view/drviews4.cxx
@@ -64,6 +64,7 @@
#include <navigatr.hxx>
#include <memory>
+#include <boost/scoped_ptr.hpp>
namespace sd {
diff --git a/sd/source/ui/view/drviews9.cxx b/sd/source/ui/view/drviews9.cxx
index c3d925c40b45..5685ba429ff6 100644
--- a/sd/source/ui/view/drviews9.cxx
+++ b/sd/source/ui/view/drviews9.cxx
@@ -61,6 +61,7 @@
#include <com/sun/star/gallery/GalleryItemType.hpp>
#include <com/sun/star/drawing/LineStyle.hpp>
#include <memory>
+#include <boost/scoped_ptr.hpp>
using namespace com::sun::star;
diff --git a/sd/source/ui/view/drviewsa.cxx b/sd/source/ui/view/drviewsa.cxx
index 850863654d36..e1cbfd925b33 100644
--- a/sd/source/ui/view/drviewsa.cxx
+++ b/sd/source/ui/view/drviewsa.cxx
@@ -70,6 +70,7 @@
#include <boost/bind.hpp>
#include <memory>
+#include <boost/scoped_ptr.hpp>
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
diff --git a/sd/source/ui/view/drviewsf.cxx b/sd/source/ui/view/drviewsf.cxx
index dd39b08264a5..2a41d2c8d28f 100644
--- a/sd/source/ui/view/drviewsf.cxx
+++ b/sd/source/ui/view/drviewsf.cxx
@@ -64,6 +64,7 @@
#include <svx/nbdtmgfact.hxx>
#include <svx/nbdtmg.hxx>
#include <memory>
+#include <boost/scoped_ptr.hpp>
using namespace svx::sidebar;
using namespace ::com::sun::star;
diff --git a/sd/source/ui/view/outlnvs2.cxx b/sd/source/ui/view/outlnvs2.cxx
index 59baafbe4841..c180b45c37cf 100644
--- a/sd/source/ui/view/outlnvs2.cxx
+++ b/sd/source/ui/view/outlnvs2.cxx
@@ -64,6 +64,7 @@
#include "DrawViewShell.hxx"
#include "slideshow.hxx"
#include <memory>
+#include <boost/scoped_ptr.hpp>
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::presentation;
diff --git a/sd/source/ui/view/outlnvsh.cxx b/sd/source/ui/view/outlnvsh.cxx
index 875ff5fb8a2e..1767a012e95b 100644
--- a/sd/source/ui/view/outlnvsh.cxx
+++ b/sd/source/ui/view/outlnvsh.cxx
@@ -87,6 +87,7 @@
#include "framework/FrameworkHelper.hxx"
#include <memory>
+#include <boost/scoped_ptr.hpp>
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
diff --git a/sd/source/ui/view/sdview.cxx b/sd/source/ui/view/sdview.cxx
index 18867d323d8e..cf0c6d04b84a 100644
--- a/sd/source/ui/view/sdview.cxx
+++ b/sd/source/ui/view/sdview.cxx
@@ -95,6 +95,7 @@
#include <memory>
#include <numeric>
+#include <boost/scoped_ptr.hpp>
using namespace com::sun::star;
using namespace com::sun::star::uno;
diff --git a/sd/source/ui/view/sdview2.cxx b/sd/source/ui/view/sdview2.cxx
index bd92d8acb341..612d585d3e4f 100644
--- a/sd/source/ui/view/sdview2.cxx
+++ b/sd/source/ui/view/sdview2.cxx
@@ -66,6 +66,7 @@
#include "slideshow.hxx"
#include <memory>
+#include <boost/scoped_ptr.hpp>
namespace sd {
diff --git a/sd/source/ui/view/sdview3.cxx b/sd/source/ui/view/sdview3.cxx
index 38020de94c9d..0380bb946f4f 100644
--- a/sd/source/ui/view/sdview3.cxx
+++ b/sd/source/ui/view/sdview3.cxx
@@ -77,6 +77,7 @@
#include <svx/sdrhittesthelper.hxx>
#include <svx/xbtmpit.hxx>
#include <memory>
+#include <boost/scoped_ptr.hpp>
// - Namespaces -