diff options
Diffstat (limited to 'uui/source/iahndl-authentication.cxx')
-rw-r--r-- | uui/source/iahndl-authentication.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/uui/source/iahndl-authentication.cxx b/uui/source/iahndl-authentication.cxx index ad975d3f9ae7..4ec2f734be6b 100644 --- a/uui/source/iahndl-authentication.cxx +++ b/uui/source/iahndl-authentication.cxx @@ -344,9 +344,10 @@ handleAuthenticationRequest_( { uno::Sequence< OUString > aPassList(aInfo.GetAccount().isEmpty() ? 1 : 2); - aPassList[0] = aInfo.GetPassword(); + auto pPassList = aPassList.getArray(); + pPassList[0] = aInfo.GetPassword(); if (!aInfo.GetAccount().isEmpty()) - aPassList[1] = aInfo.GetAccount(); + pPassList[1] = aInfo.GetAccount(); if (aInfo.GetIsRememberPassword()) { |