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:
committed by
Stephan Bergmann
parent
9b3dca4fef
commit
5d07a4fa1d
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user