summaryrefslogtreecommitdiff
path: root/uui/source/iahndl-ssl.cxx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2021-10-13 21:59:05 +0200
committerJulien Nabet <serval2412@yahoo.fr>2021-10-14 10:28:44 +0200
commitf28c4ae3c676554723ae5959f15b5766e322cee6 (patch)
treee3a9abb357fe2af7c1e0d98bb0ce16b524239fd9 /uui/source/iahndl-ssl.cxx
parenteda5ac4a63fac6bce939b6791dec52270618dc29 (diff)
Directly initialize vectors in uui
Change-Id: Ifca1362d8ee97640b31ce75b3dc8e819fe32588d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123567 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'uui/source/iahndl-ssl.cxx')
-rw-r--r--uui/source/iahndl-ssl.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/uui/source/iahndl-ssl.cxx b/uui/source/iahndl-ssl.cxx
index 136907da7cc2..bf4e8811f949 100644
--- a/uui/source/iahndl-ssl.cxx
+++ b/uui/source/iahndl-ssl.cxx
@@ -146,8 +146,7 @@ executeUnknownAuthDialog(
// Get correct resource string
OUString aMessage;
- std::vector< OUString > aArguments;
- aArguments.push_back( getContentPart( rXCert->getSubjectName()) );
+ std::vector< OUString > aArguments { getContentPart( rXCert->getSubjectName()) };
std::locale aResLocale(Translate::Create("uui"));