tdf#88205: Adapt uses of css::uno::Sequence to use initializer_list ctor

Change-Id: Ic08f7d7c2b8da6dd5ede2a719633d123412de3ef
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108737
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
Vishwas
2021-01-11 13:01:08 +01:00
committed by Stephan Bergmann
parent 9b3dca4fef
commit 5d07a4fa1d
2 changed files with 2 additions and 4 deletions
+1 -2
View File
@@ -99,8 +99,7 @@ public:
virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override
{
css::uno::Sequence< OUString > aSeq { "com.sun.star.frame.ProtocolHandler" };
return aSeq;
return {"com.sun.star.frame.ProtocolHandler"};
}
// Xinitialization
+1 -2
View File
@@ -185,8 +185,7 @@ public:
virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override
{
css::uno::Sequence< OUString > aSeq { "com.sun.star.util.PathSettings" };
return aSeq;
return {"com.sun.star.util.PathSettings"};
}
// XInterface