tdf#88205 Adapt uses of css::uno::Sequence to use initialize_list ctor
Change-Id: Idb456f6cf0b4f3dda4b92d341ae6de59cb9879e2 Reviewed-on: https://gerrit.libreoffice.org/29797 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
parent
db0cb39225
commit
dd5e0814cd
@ -453,8 +453,7 @@ public:
|
||||
virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames()
|
||||
throw (css::uno::RuntimeException, std::exception) override
|
||||
{
|
||||
css::uno::Sequence< OUString > aSeq { "com.sun.star.frame.AutoRecovery" };
|
||||
return aSeq;
|
||||
return {"com.sun.star.frame.AutoRecovery"};
|
||||
}
|
||||
|
||||
// XInterface
|
||||
|
@ -138,8 +138,7 @@ public:
|
||||
virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames()
|
||||
throw (css::uno::RuntimeException, std::exception) override
|
||||
{
|
||||
css::uno::Sequence< OUString > aSeq { "com.sun.star.frame.Frame" };
|
||||
return aSeq;
|
||||
return {"com.sun.star.frame.Frame"};
|
||||
}
|
||||
|
||||
// XComponentLoader
|
||||
|
@ -125,8 +125,7 @@ public:
|
||||
virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames()
|
||||
throw (css::uno::RuntimeException, std::exception) override
|
||||
{
|
||||
css::uno::Sequence< OUString > aSeq { "com.sun.star.frame.SessionListener" };
|
||||
return aSeq;
|
||||
return {"com.sun.star.frame.SessionListener"};
|
||||
}
|
||||
|
||||
virtual void SAL_CALL disposing(const css::lang::EventObject&) throw (css::uno::RuntimeException, std::exception) override;
|
||||
|
@ -153,8 +153,7 @@ public:
|
||||
virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames()
|
||||
throw (css::uno::RuntimeException, std::exception) override
|
||||
{
|
||||
css::uno::Sequence< OUString > aSeq { "com.sun.star.util.PathSubstitution" };
|
||||
return aSeq;
|
||||
return {"com.sun.star.util.PathSubstitution"};
|
||||
}
|
||||
|
||||
// XStringSubstitution
|
||||
|
@ -81,8 +81,7 @@ public:
|
||||
virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames()
|
||||
throw (css::uno::RuntimeException, std::exception) override
|
||||
{
|
||||
css::uno::Sequence< OUString > aSeq { "com.sun.star.frame.TaskCreator" };
|
||||
return aSeq;
|
||||
return {"com.sun.star.frame.TaskCreator"};
|
||||
}
|
||||
|
||||
// XSingleServiceFactory
|
||||
|
@ -54,8 +54,7 @@ public:
|
||||
virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames()
|
||||
throw (css::uno::RuntimeException, std::exception) override
|
||||
{
|
||||
css::uno::Sequence< OUString > aRet { "com.sun.star.util.URLTransformer" };
|
||||
return aRet;
|
||||
return {"com.sun.star.util.URLTransformer"};
|
||||
}
|
||||
|
||||
virtual sal_Bool SAL_CALL parseStrict( css::util::URL& aURL )
|
||||
|
Loading…
x
Reference in New Issue
Block a user