summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-09-24 11:19:44 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-09-24 23:35:17 +0000
commit4b16c89f06146ce50b360916538fe744ec2a72c7 (patch)
treede26103266e223788e0c465c914c915891d23987 /sd
parent14a9a7d52074104afa24278a7a350f05d6df572a (diff)
sd/source/ui/framework boost::scoped_ptr->std::unique_ptr
Change-Id: I37e8c596d7afc3f7d0461b40e596dea45e9470a4 Reviewed-on: https://gerrit.libreoffice.org/18824 Tested-by: Jenkins <ci@libreoffice.org> 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/framework/configuration/ConfigurationController.cxx4
-rw-r--r--sd/source/ui/framework/factories/BasicPaneFactory.hxx3
-rw-r--r--sd/source/ui/framework/factories/BasicViewFactory.hxx3
-rw-r--r--sd/source/ui/framework/module/ResourceManager.hxx3
-rw-r--r--sd/source/ui/framework/module/ShellStackGuard.hxx3
-rw-r--r--sd/source/ui/framework/module/ToolBarModule.hxx3
6 files changed, 7 insertions, 12 deletions
diff --git a/sd/source/ui/framework/configuration/ConfigurationController.cxx b/sd/source/ui/framework/configuration/ConfigurationController.cxx
index d6b221577497..abfaa87fc855 100644
--- a/sd/source/ui/framework/configuration/ConfigurationController.cxx
+++ b/sd/source/ui/framework/configuration/ConfigurationController.cxx
@@ -36,7 +36,7 @@
#include <osl/mutex.hxx>
#include <vcl/svapp.hxx>
-#include <boost/scoped_ptr.hpp>
+#include <memory>
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
@@ -80,7 +80,7 @@ public:
/** The queue processor ownes the queue of configuration change request
objects and processes the objects.
*/
- ::boost::scoped_ptr<ChangeRequestQueueProcessor> mpQueueProcessor;
+ std::unique_ptr<ChangeRequestQueueProcessor> mpQueueProcessor;
std::shared_ptr<ConfigurationUpdaterLock> mpConfigurationUpdaterLock;
diff --git a/sd/source/ui/framework/factories/BasicPaneFactory.hxx b/sd/source/ui/framework/factories/BasicPaneFactory.hxx
index 5d1a4546f858..4421732ab0d2 100644
--- a/sd/source/ui/framework/factories/BasicPaneFactory.hxx
+++ b/sd/source/ui/framework/factories/BasicPaneFactory.hxx
@@ -33,7 +33,6 @@
#include <cppuhelper/compbase.hxx>
#include <memory>
-#include <boost/scoped_ptr.hpp>
namespace {
@@ -109,7 +108,7 @@ private:
ViewShellBase* mpViewShellBase;
class PaneDescriptor;
class PaneContainer;
- ::boost::scoped_ptr<PaneContainer> mpPaneContainer;
+ std::unique_ptr<PaneContainer> mpPaneContainer;
/** Create a new instance of FrameWindowPane.
@param rPaneId
diff --git a/sd/source/ui/framework/factories/BasicViewFactory.hxx b/sd/source/ui/framework/factories/BasicViewFactory.hxx
index 7b1530c282f8..064558c49ff5 100644
--- a/sd/source/ui/framework/factories/BasicViewFactory.hxx
+++ b/sd/source/ui/framework/factories/BasicViewFactory.hxx
@@ -34,7 +34,6 @@
#include <vcl/vclptr.hxx>
#include <memory>
-#include <boost/scoped_ptr.hpp>
namespace sd {
class ViewShell;
@@ -100,7 +99,7 @@ private:
mxConfigurationController;
class ViewDescriptor;
class ViewShellContainer;
- ::boost::scoped_ptr<ViewShellContainer> mpViewShellContainer;
+ std::unique_ptr<ViewShellContainer> mpViewShellContainer;
ViewShellBase* mpBase;
FrameView* mpFrameView;
diff --git a/sd/source/ui/framework/module/ResourceManager.hxx b/sd/source/ui/framework/module/ResourceManager.hxx
index 418979b21018..d0abc5dda0bf 100644
--- a/sd/source/ui/framework/module/ResourceManager.hxx
+++ b/sd/source/ui/framework/module/ResourceManager.hxx
@@ -26,7 +26,6 @@
#include <com/sun/star/frame/XController.hpp>
#include <cppuhelper/compbase.hxx>
#include <memory>
-#include <boost/scoped_ptr.hpp>
namespace {
@@ -83,7 +82,7 @@ protected:
private:
class MainViewContainer;
- ::boost::scoped_ptr<MainViewContainer> mpActiveMainViewContainer;
+ std::unique_ptr<MainViewContainer> mpActiveMainViewContainer;
/// The resource managed by this class.
css::uno::Reference<css::drawing::framework::XResourceId> mxResourceId;
diff --git a/sd/source/ui/framework/module/ShellStackGuard.hxx b/sd/source/ui/framework/module/ShellStackGuard.hxx
index f2a5f37967b8..5d4bf131c46f 100644
--- a/sd/source/ui/framework/module/ShellStackGuard.hxx
+++ b/sd/source/ui/framework/module/ShellStackGuard.hxx
@@ -32,7 +32,6 @@
#include <vcl/idle.hxx>
#include <cppuhelper/compbase.hxx>
#include <memory>
-#include <boost/scoped_ptr.hpp>
namespace {
@@ -85,7 +84,7 @@ private:
css::uno::Reference<css::drawing::framework::XConfigurationController>
mxConfigurationController;
ViewShellBase* mpBase;
- ::boost::scoped_ptr<ConfigurationController::Lock> mpUpdateLock;
+ std::unique_ptr<ConfigurationController::Lock> mpUpdateLock;
Idle maPrinterPollingIdle;
DECL_LINK_TYPED(TimeoutHandler, Idle*, void);
diff --git a/sd/source/ui/framework/module/ToolBarModule.hxx b/sd/source/ui/framework/module/ToolBarModule.hxx
index cffc42e553b2..60350da81777 100644
--- a/sd/source/ui/framework/module/ToolBarModule.hxx
+++ b/sd/source/ui/framework/module/ToolBarModule.hxx
@@ -29,7 +29,6 @@
#include <cppuhelper/basemutex.hxx>
#include <cppuhelper/compbase.hxx>
#include <memory>
-#include <boost/scoped_ptr.hpp>
namespace sd {
class ViewShellBase;
@@ -77,7 +76,7 @@ private:
css::uno::Reference<
css::drawing::framework::XConfigurationController> mxConfigurationController;
ViewShellBase* mpBase;
- ::boost::scoped_ptr<ToolBarManager::UpdateLock> mpToolBarManagerLock;
+ std::unique_ptr<ToolBarManager::UpdateLock> mpToolBarManagerLock;
bool mbMainViewSwitchUpdatePending;
void HandleUpdateStart();