tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor
Change-Id: I5b484c6f6e950a59e811da818be8a5e1e6cfc65d Reviewed-on: https://gerrit.libreoffice.org/29827 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
committed by
Julien Nabet
parent
ad59a9a9cd
commit
f2c3efb124
@@ -95,8 +95,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.ModuleUIConfigurationManager" };
|
||||
return aSeq;
|
||||
return {"com.sun.star.ui.ModuleUIConfigurationManager"};
|
||||
}
|
||||
|
||||
// XComponent
|
||||
|
@@ -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.UIConfigurationManager" };
|
||||
return aSeq;
|
||||
return {"com.sun.star.ui.UIConfigurationManager"};
|
||||
}
|
||||
|
||||
explicit UIConfigurationManager( const css::uno::Reference< css::uno::XComponentContext > & rxContext );
|
||||
|
@@ -1284,8 +1284,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.WindowStateConfiguration" };
|
||||
return aSeq;
|
||||
return {"com.sun.star.ui.WindowStateConfiguration"};
|
||||
}
|
||||
|
||||
// XNameAccess
|
||||
|
@@ -197,8 +197,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.PopupMenuController" };
|
||||
return aSeq;
|
||||
return {"com.sun.star.frame.PopupMenuController"};
|
||||
}
|
||||
|
||||
// XPopupMenuController
|
||||
|
@@ -79,8 +79,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.PopupMenuController" };
|
||||
return aSeq;
|
||||
return {"com.sun.star.frame.PopupMenuController"};
|
||||
}
|
||||
|
||||
// XStatusListener
|
||||
|
Reference in New Issue
Block a user