summaryrefslogtreecommitdiff
path: root/sd/source/ui/remotecontrol
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-09-25 12:43:51 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-09-25 17:39:46 +0000
commita8200ce3effbddf0b5d26e7c50aa0c2853412a1a (patch)
treeec6c41d9b8b67ecafea437970b3972638ad1aeb0 /sd/source/ui/remotecontrol
parentd75406593d993724f266aae4f219aa7ca1e84b57 (diff)
sd/source/ui/tools boost->std
Change-Id: I55f821dd9c2131cfbd8e2cb7838513a6bcb4b97d Reviewed-on: https://gerrit.libreoffice.org/18869 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd/source/ui/remotecontrol')
-rw-r--r--sd/source/ui/remotecontrol/BluetoothServer.cxx4
-rw-r--r--sd/source/ui/remotecontrol/BluetoothServer.hxx3
2 files changed, 3 insertions, 4 deletions
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 <osl/thread.hxx>
#include <memory>
-#include <boost/scoped_ptr.hpp>
#include <vector>
#if (defined(LINUX) && !defined(__FreeBSD_kernel__)) && defined(ENABLE_DBUS)
@@ -47,7 +46,7 @@ namespace sd
#ifdef LINUX_BLUETOOTH
struct Impl;
- boost::scoped_ptr<Impl> mpImpl;
+ std::unique_ptr<Impl> mpImpl;
#endif
virtual void SAL_CALL run() SAL_OVERRIDE;