From a8200ce3effbddf0b5d26e7c50aa0c2853412a1a Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 25 Sep 2015 12:43:51 +0100 Subject: sd/source/ui/tools boost->std MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I55f821dd9c2131cfbd8e2cb7838513a6bcb4b97d Reviewed-on: https://gerrit.libreoffice.org/18869 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- sd/source/ui/framework/tools/FrameworkHelper.cxx | 2 +- sd/source/ui/inc/framework/FrameworkHelper.hxx | 2 +- sd/source/ui/remotecontrol/BluetoothServer.cxx | 4 ++-- sd/source/ui/remotecontrol/BluetoothServer.hxx | 3 +-- sd/source/ui/tools/PreviewRenderer.cxx | 3 +-- 5 files changed, 6 insertions(+), 8 deletions(-) (limited to 'sd/source/ui') diff --git a/sd/source/ui/framework/tools/FrameworkHelper.cxx b/sd/source/ui/framework/tools/FrameworkHelper.cxx index b71542430dbf..eb4e1357ce4a 100644 --- a/sd/source/ui/framework/tools/FrameworkHelper.cxx +++ b/sd/source/ui/framework/tools/FrameworkHelper.cxx @@ -321,7 +321,7 @@ public: //----- FrameworkHelper ------------------------------------------------------- -::boost::scoped_ptr FrameworkHelper::mpViewURLMap(new ViewURLMap()); +std::unique_ptr FrameworkHelper::mpViewURLMap(new ViewURLMap()); FrameworkHelper::InstanceMap FrameworkHelper::maInstanceMap; diff --git a/sd/source/ui/inc/framework/FrameworkHelper.hxx b/sd/source/ui/inc/framework/FrameworkHelper.hxx index d0d4b042202a..c5a688d4e4c3 100644 --- a/sd/source/ui/inc/framework/FrameworkHelper.hxx +++ b/sd/source/ui/inc/framework/FrameworkHelper.hxx @@ -306,7 +306,7 @@ private: */ static InstanceMap maInstanceMap; class ViewURLMap; - static ::boost::scoped_ptr mpViewURLMap; + static std::unique_ptr mpViewURLMap; ViewShellBase& mrBase; css::uno::Reference diff --git a/sd/source/ui/remotecontrol/BluetoothServer.cxx b/sd/source/ui/remotecontrol/BluetoothServer.cxx index 390e134e165f..fb817ddc443f 100644 --- a/sd/source/ui/remotecontrol/BluetoothServer.cxx +++ b/sd/source/ui/remotecontrol/BluetoothServer.cxx @@ -701,7 +701,7 @@ getDBusBooleanProperty( DBusConnection *pConnection, DBusObject *pAdapter, *pBoolean = false; bool bRet = false; - ::boost::scoped_ptr< DBusObject > pProperties ( + std::unique_ptr< DBusObject > pProperties ( pAdapter->cloneForInterface( "org.freedesktop.DBus.Properties" ) ); DBusMessage *pMsg = pProperties->getMethodCall( "Get" ); @@ -762,7 +762,7 @@ setDBusBooleanProperty( DBusConnection *pConnection, DBusObject *pAdapter, { assert( pAdapter ); - ::boost::scoped_ptr< DBusObject > pProperties( + std::unique_ptr< DBusObject > pProperties( pAdapter->cloneForInterface( "org.freedesktop.DBus.Properties" ) ); DBusMessage *pMsg = pProperties->getMethodCall( "Set" ); diff --git a/sd/source/ui/remotecontrol/BluetoothServer.hxx b/sd/source/ui/remotecontrol/BluetoothServer.hxx index 3724b3795a01..bb24268a000b 100644 --- a/sd/source/ui/remotecontrol/BluetoothServer.hxx +++ b/sd/source/ui/remotecontrol/BluetoothServer.hxx @@ -11,7 +11,6 @@ #include #include -#include #include #if (defined(LINUX) && !defined(__FreeBSD_kernel__)) && defined(ENABLE_DBUS) @@ -47,7 +46,7 @@ namespace sd #ifdef LINUX_BLUETOOTH struct Impl; - boost::scoped_ptr mpImpl; + std::unique_ptr mpImpl; #endif virtual void SAL_CALL run() SAL_OVERRIDE; diff --git a/sd/source/ui/tools/PreviewRenderer.cxx b/sd/source/ui/tools/PreviewRenderer.cxx index 1aedf81f6d6a..81b7ab176041 100644 --- a/sd/source/ui/tools/PreviewRenderer.cxx +++ b/sd/source/ui/tools/PreviewRenderer.cxx @@ -37,7 +37,6 @@ #include #include -#include using namespace ::com::sun::star; using namespace ::com::sun::star::uno; @@ -309,7 +308,7 @@ void PreviewRenderer::PaintPage ( } // Use a special redirector to prevent PresObj shapes from being painted. - boost::scoped_ptr pRedirector; + std::unique_ptr pRedirector; if ( ! bDisplayPresentationObjects) pRedirector.reset(new ViewRedirector()); -- cgit