From 8569c6d0ad70c32a08774fa6f5ec25b465ea98ee Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 16 Nov 2015 09:23:41 +0200 Subject: use initialiser list for Sequence Change-Id: Ia5e47261d1fc6fac2d046656c05a1c5eedb07e02 Reviewed-on: https://gerrit.libreoffice.org/19978 Tested-by: Jenkins Reviewed-by: Noel Grandin --- uui/source/passwordcontainer.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'uui') diff --git a/uui/source/passwordcontainer.cxx b/uui/source/passwordcontainer.cxx index 285f7b8a6877..342aa651f0d7 100644 --- a/uui/source/passwordcontainer.cxx +++ b/uui/source/passwordcontainer.cxx @@ -333,9 +333,7 @@ PasswordContainerInteractionHandler::getImplementationName_Static() uno::Sequence< OUString > PasswordContainerInteractionHandler::getSupportedServiceNames_Static() { - uno::Sequence< OUString > aSNS( 1 ); - aSNS.getArray()[ 0 ] = - "com.sun.star.task.PasswordContainerInteractionHandler"; + uno::Sequence< OUString > aSNS { "com.sun.star.task.PasswordContainerInteractionHandler" }; return aSNS; } -- cgit