summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-09-26 11:32:17 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-09-26 15:23:20 +0000
commit01b003c47bb7bb469eaf4ebf08ded979a0424df4 (patch)
treebb39232c21f72a0c2a9f79311b8693159aa25e18 /sd
parent82630bda21200ad32e13b2e5a0d24de00fd1c8c2 (diff)
boost->std
Change-Id: I17a517e5063aebd7d20864104b4b24a5fd05612b Reviewed-on: https://gerrit.libreoffice.org/18883 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/app/sdmod1.cxx1
-rw-r--r--sd/source/ui/inc/SlideSorter.hxx7
-rw-r--r--sd/source/ui/inc/ToolBarManager.hxx2
-rw-r--r--sd/source/ui/inc/ViewShell.hxx1
-rw-r--r--sd/source/ui/inc/ViewShellBase.hxx1
-rw-r--r--sd/source/ui/view/sdview2.cxx3
6 files changed, 6 insertions, 9 deletions
diff --git a/sd/source/ui/app/sdmod1.cxx b/sd/source/ui/app/sdmod1.cxx
index 81a72e94f076..69599d9b7fa7 100644
--- a/sd/source/ui/app/sdmod1.cxx
+++ b/sd/source/ui/app/sdmod1.cxx
@@ -60,7 +60,6 @@
#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/inc/SlideSorter.hxx b/sd/source/ui/inc/SlideSorter.hxx
index c2f302ced4e3..0b7273a23abd 100644
--- a/sd/source/ui/inc/SlideSorter.hxx
+++ b/sd/source/ui/inc/SlideSorter.hxx
@@ -29,7 +29,6 @@
#include <boost/current_function.hpp>
#include <vcl/scrbar.hxx>
#include <memory>
-#include <boost/scoped_ptr.hpp>
class ScrollBar;
class ScrollBarBox;
@@ -215,9 +214,9 @@ protected:
private:
bool mbIsValid;
- ::boost::scoped_ptr<controller::SlideSorterController> mpSlideSorterController;
- ::boost::scoped_ptr<model::SlideSorterModel> mpSlideSorterModel;
- ::boost::scoped_ptr<view::SlideSorterView> mpSlideSorterView;
+ std::unique_ptr<controller::SlideSorterController> mpSlideSorterController;
+ std::unique_ptr<model::SlideSorterModel> mpSlideSorterModel;
+ std::unique_ptr<view::SlideSorterView> mpSlideSorterView;
::com::sun::star::uno::WeakReference<com::sun::star::frame::XController> mxControllerWeak;
ViewShell* mpViewShell;
ViewShellBase* mpViewShellBase;
diff --git a/sd/source/ui/inc/ToolBarManager.hxx b/sd/source/ui/inc/ToolBarManager.hxx
index d3501c450871..fa681d682fd7 100644
--- a/sd/source/ui/inc/ToolBarManager.hxx
+++ b/sd/source/ui/inc/ToolBarManager.hxx
@@ -253,7 +253,7 @@ public:
private:
class Implementation;
- ::boost::scoped_ptr<Implementation> mpImpl;
+ std::unique_ptr<Implementation> mpImpl;
/** The ViewShellBase is used to get the XLayoutManager and to determine
the plug in mode.
diff --git a/sd/source/ui/inc/ViewShell.hxx b/sd/source/ui/inc/ViewShell.hxx
index 3c0215ffd977..bba5c73176a0 100644
--- a/sd/source/ui/inc/ViewShell.hxx
+++ b/sd/source/ui/inc/ViewShell.hxx
@@ -34,7 +34,6 @@
#include <com/sun/star/drawing/XDrawSubController.hpp>
#include <memory>
-#include <boost/scoped_ptr.hpp>
class SdPage;
class SvxRuler;
diff --git a/sd/source/ui/inc/ViewShellBase.hxx b/sd/source/ui/inc/ViewShellBase.hxx
index 9975cbeb766e..8f7a0b2ef7bf 100644
--- a/sd/source/ui/inc/ViewShellBase.hxx
+++ b/sd/source/ui/inc/ViewShellBase.hxx
@@ -27,6 +27,7 @@
#include "glob.hxx"
#include <sfx2/viewsh.hxx>
#include <sfx2/viewfac.hxx>
+#include <boost/scoped_ptr.hpp>
#include <memory>
class SdDrawDocument;
diff --git a/sd/source/ui/view/sdview2.cxx b/sd/source/ui/view/sdview2.cxx
index 612d585d3e4f..24bff878d70c 100644
--- a/sd/source/ui/view/sdview2.cxx
+++ b/sd/source/ui/view/sdview2.cxx
@@ -66,7 +66,6 @@
#include "slideshow.hxx"
#include <memory>
-#include <boost/scoped_ptr.hpp>
namespace sd {
@@ -889,7 +888,7 @@ bool View::GetExchangeList (std::vector<OUString> &rExchangeList,
OUString aDesc(SD_RESSTR(STR_DESC_NAMEGROUP));
SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create();
- boost::scoped_ptr<AbstractSvxNameDialog> pDlg;
+ std::unique_ptr<AbstractSvxNameDialog> pDlg;
if (pFact)
pDlg.reset(pFact->CreateSvxNameDialog( mpViewSh->GetActiveWindow(), aNewName, aDesc ));