summaryrefslogtreecommitdiff
path: root/uui/source/iahndl-authentication.cxx
diff options
context:
space:
mode:
authorThomas Lange [tl] <tl@openoffice.org>2010-05-03 09:08:38 +0200
committerThomas Lange [tl] <tl@openoffice.org>2010-05-03 09:08:38 +0200
commit2005bc7b8b04f6eaa3d4636a3a1df1d6ff02f550 (patch)
tree4ce64ddfb3a4f8862f7ff6186eadb7f2962b2e97 /uui/source/iahndl-authentication.cxx
parent007c3c9991b5d404a605e5d016ac101ce7aad2dd (diff)
cws tl78: build issues after merging with DEV300_m77
Diffstat (limited to 'uui/source/iahndl-authentication.cxx')
-rwxr-xr-xuui/source/iahndl-authentication.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/uui/source/iahndl-authentication.cxx b/uui/source/iahndl-authentication.cxx
index 7103fee29510..a84b1442a4ce 100755
--- a/uui/source/iahndl-authentication.cxx
+++ b/uui/source/iahndl-authentication.cxx
@@ -428,8 +428,8 @@ executePasswordDialog(
const sal_uInt16 nMaxPasswdLen = bMSCryptoMode ? 15 : 0; // 0 -> allow any length
VclAbstractDialogFactory * pFact = VclAbstractDialogFactory::Create();
- std::auto_ptr< AbstractPasswordToOpenModifyDialog > pDialog(
- pFact->CreatePasswordToOpenModifyDialog( pParent, 0, nMaxPasswdLen ) );
+ AbstractPasswordToOpenModifyDialog *pTmp = pFact->CreatePasswordToOpenModifyDialog( pParent, 0, nMaxPasswdLen );
+ std::auto_ptr< AbstractPasswordToOpenModifyDialog > pDialog( pTmp );
rInfo.SetResult( pDialog->Execute() == RET_OK ? ERRCODE_BUTTON_OK : ERRCODE_BUTTON_CANCEL );
rInfo.SetPassword( pDialog->GetPasswordToOpen() );