summaryrefslogtreecommitdiff
path: root/stoc/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-09-17 17:10:47 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-09-18 07:59:14 +0000
commit3a00aaef2a51d7a1a87475a316dc9ae232fac60c (patch)
tree4cc4516528c0dcb0bb6871e5b517efb74550a521 /stoc/source
parentc8ee3be0e08c435b106f0ac4b76618b33333b040 (diff)
boost->std
Change-Id: Ie490bf2c6921f393bdeed96b1a8815996b701bf0 Reviewed-on: https://gerrit.libreoffice.org/18670 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 'stoc/source')
-rw-r--r--stoc/source/security/access_controller.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/stoc/source/security/access_controller.cxx b/stoc/source/security/access_controller.cxx
index a4224c8d393c..d984fdd236e7 100644
--- a/stoc/source/security/access_controller.cxx
+++ b/stoc/source/security/access_controller.cxx
@@ -47,7 +47,7 @@
#include "lru_cache.h"
#include "permissions.h"
-#include <boost/scoped_ptr.hpp>
+#include <memory>
#define SERVICE_NAME "com.sun.star.security.AccessController"
#define USER_CREDS "access-control.user-credentials"
@@ -533,7 +533,7 @@ inline void AccessController::clearPostPoned()
void AccessController::checkAndClearPostPoned()
{
// check postponed permissions
- boost::scoped_ptr< t_rec_vec > rec( static_cast< t_rec_vec * >( m_rec.getData() ) );
+ std::unique_ptr< t_rec_vec > rec( static_cast< t_rec_vec * >( m_rec.getData() ) );
m_rec.setData( 0 ); // takeover ownership
OSL_ASSERT( rec.get() );
if (rec.get())