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
commit1a77e150f7af8f70db4bbf174f6654758622ee58 (patch)
tree46880f1c5f3652f16f2f710c7392ffc75d59bc71 /uui
parent64b97418f05022ec71e30e93d222e940a72ba420 (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 0ebacfcb81..dbe31cb1b5 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 1673be41de..ec514e03f9 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() );