summaryrefslogtreecommitdiff
path: root/uui
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
parent007c3c9991b5d404a605e5d016ac101ce7aad2dd (diff)
cws tl78: build issues after merging with DEV300_m77
Diffstat (limited to 'uui')
-rw-r--r--uui/prj/build.lst2
-rwxr-xr-xuui/source/iahndl-authentication.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/uui/prj/build.lst b/uui/prj/build.lst
index 0ebacfcb814f..dbe31cb1b57e 100644
--- a/uui/prj/build.lst
+++ b/uui/prj/build.lst
@@ -1,4 +1,4 @@
-uu uui : l10n svtools NULL
+uu uui : l10n vcl svtools NULL
uu uui usr1 - all uu_mkout NULL
uu uui\source nmake - all uu_source NULL
uu uui\util nmake - all uu_util uu_source NULL
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() );