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>
This commit is contained in:
Caolán McNamara 2015-09-26 11:32:17 +01:00
parent 82630bda21
commit 01b003c47b
6 changed files with 6 additions and 9 deletions

View File

@ -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>

View File

@ -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;

View File

@ -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.

View File

@ -34,7 +34,6 @@
#include <com/sun/star/drawing/XDrawSubController.hpp>
#include <memory>
#include <boost/scoped_ptr.hpp>
class SdPage;
class SvxRuler;

View File

@ -27,6 +27,7 @@
#include "glob.hxx"
#include <sfx2/viewsh.hxx>
#include <sfx2/viewfac.hxx>
#include <boost/scoped_ptr.hpp>
#include <memory>
class SdDrawDocument;

View File

@ -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 ));