diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-09-17 11:30:13 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-09-17 14:12:07 +0100 |
commit | ddc280920282ff3e2801e9a79f9dfa8a6c6f5699 (patch) | |
tree | 4b477c76374f2f36659ba674c2e5d6796629d45b /uui/source/iahndl-authentication.cxx | |
parent | 63e7b7afa75252298606c84e8ec82adaee5fa28a (diff) |
boost->std
Change-Id: Idfbcfa1e5ba7bff92e98693c33c4b33a6beda08f
Diffstat (limited to 'uui/source/iahndl-authentication.cxx')
-rw-r--r-- | uui/source/iahndl-authentication.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/uui/source/iahndl-authentication.cxx b/uui/source/iahndl-authentication.cxx index 3249e9db67bf..a58a0be5978f 100644 --- a/uui/source/iahndl-authentication.cxx +++ b/uui/source/iahndl-authentication.cxx @@ -52,7 +52,7 @@ #include "iahndl.hxx" -#include <boost/scoped_ptr.hpp> +#include <memory> using namespace com::sun::star; @@ -100,7 +100,7 @@ executeLoginDialog( if (bSavePassword) { - boost::scoped_ptr< ResMgr > xManager(ResMgr::CreateResMgr("uui")); + std::unique_ptr< ResMgr > xManager(ResMgr::CreateResMgr("uui")); xDialog->SetSavePasswordText( ResId(rInfo.GetIsRememberPersistent() ? RID_SAVE_PASSWORD @@ -413,7 +413,7 @@ executeMasterPasswordDialog( { SolarMutexGuard aGuard; - boost::scoped_ptr< ResMgr > xManager(ResMgr::CreateResMgr("uui")); + std::unique_ptr< ResMgr > xManager(ResMgr::CreateResMgr("uui")); if( nMode == task::PasswordRequestMode_PASSWORD_CREATE ) { ScopedVclPtrInstance< MasterPasswordCreateDialog > xDialog( @@ -511,7 +511,7 @@ executePasswordDialog( { SolarMutexGuard aGuard; - boost::scoped_ptr< ResMgr > xManager(ResMgr::CreateResMgr("uui")); + std::unique_ptr< ResMgr > xManager(ResMgr::CreateResMgr("uui")); if( nMode == task::PasswordRequestMode_PASSWORD_CREATE ) { if (bIsSimplePasswordRequest) @@ -530,7 +530,7 @@ executePasswordDialog( VclAbstractDialogFactory * pFact = VclAbstractDialogFactory::Create(); AbstractPasswordToOpenModifyDialog *pTmp = pFact->CreatePasswordToOpenModifyDialog( pParent, 0, nMaxPasswdLen, bIsPasswordToModify ); - boost::scoped_ptr< AbstractPasswordToOpenModifyDialog > pDialog( pTmp ); + std::unique_ptr< AbstractPasswordToOpenModifyDialog > pDialog( pTmp ); rInfo.SetResult( pDialog->Execute() == RET_OK ? ERRCODE_BUTTON_OK : ERRCODE_BUTTON_CANCEL ); rInfo.SetPassword( pDialog->GetPasswordToOpen() ); |