Kaydet (Commit) f85439d4 authored tarafından Hieronymous's avatar Hieronymous Kaydeden (comit) Julien Nabet

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

Change-Id: Id97c6698d9ecac07348d3bdd3e031dbbb8486ae7
Reviewed-on: https://gerrit.libreoffice.org/29824Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
Tested-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst f2c3efb1
......@@ -87,8 +87,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.ui.DocumentAcceleratorConfiguration" };
return aSeq;
return {"com.sun.star.ui.DocumentAcceleratorConfiguration"};
}
// XUIConfigurationStorage
......
......@@ -72,8 +72,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.ui.GlobalAcceleratorConfiguration" };
return aSeq;
return {"com.sun.star.ui.GlobalAcceleratorConfiguration"};
}
// XComponent
......
......@@ -86,8 +86,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.ui.ModuleAcceleratorConfiguration" };
return aSeq;
return {"com.sun.star.ui.ModuleAcceleratorConfiguration"};
}
// XComponent
......
......@@ -101,8 +101,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.task.JobExecutor" };
return aSeq;
return {"com.sun.star.task.JobExecutor"};
}
// task.XJobExecutor
......
......@@ -80,8 +80,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.ui.ModuleUIConfigurationManagerSupplier" };
return aSeq;
return {"com.sun.star.ui.ModuleUIConfigurationManagerSupplier"};
}
// XModuleUIConfigurationManagerSupplier
......
......@@ -390,8 +390,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.ui.UICategoryDescription" };
return aSeq;
return {"com.sun.star.ui.UICategoryDescription"};
}
};
......
......@@ -369,8 +369,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.ui.UIElementFactoryManager" };
return aSeq;
return {"com.sun.star.ui.UIElementFactoryManager"};
}
// XUIElementFactory
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment