From ff339c89b51ed571d55c762e43aa1a6ee9ada1cb Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 4 Apr 2017 14:13:00 +0200 Subject: loplugin:constantparam part2 Change-Id: I7ec4c946be52a6b56aee908426f95ecacc7b0746 Reviewed-on: https://gerrit.libreoffice.org/36072 Tested-by: Jenkins Reviewed-by: Noel Grandin --- cui/source/options/webconninfo.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cui') diff --git a/cui/source/options/webconninfo.cxx b/cui/source/options/webconninfo.cxx index d9473ea8f7ab..b7717221c8af 100644 --- a/cui/source/options/webconninfo.cxx +++ b/cui/source/options/webconninfo.cxx @@ -268,7 +268,7 @@ IMPL_LINK_NOARG(WebConnectionInfoDialog, ChangePasswordHdl, Button*, void) OUString aUserName = SvTabListBox::GetEntryText( pEntry, 1 ); ::comphelper::SimplePasswordRequest* pPasswordRequest - = new ::comphelper::SimplePasswordRequest( task::PasswordRequestMode_PASSWORD_CREATE ); + = new ::comphelper::SimplePasswordRequest; uno::Reference< task::XInteractionRequest > rRequest( pPasswordRequest ); uno::Reference< task::XInteractionHandler > xInteractionHandler( -- cgit