Kaydet (Commit) f2c3efb1 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: I5b484c6f6e950a59e811da818be8a5e1e6cfc65d
Reviewed-on: https://gerrit.libreoffice.org/29827Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
Tested-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst ad59a9a9
...@@ -95,8 +95,7 @@ public: ...@@ -95,8 +95,7 @@ public:
virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames()
throw (css::uno::RuntimeException, std::exception) override throw (css::uno::RuntimeException, std::exception) override
{ {
css::uno::Sequence< OUString > aSeq { "com.sun.star.ui.ModuleUIConfigurationManager" }; return {"com.sun.star.ui.ModuleUIConfigurationManager"};
return aSeq;
} }
// XComponent // XComponent
......
...@@ -80,8 +80,7 @@ public: ...@@ -80,8 +80,7 @@ public:
virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames()
throw (css::uno::RuntimeException, std::exception) override throw (css::uno::RuntimeException, std::exception) override
{ {
css::uno::Sequence< OUString > aSeq { "com.sun.star.ui.UIConfigurationManager" }; return {"com.sun.star.ui.UIConfigurationManager"};
return aSeq;
} }
explicit UIConfigurationManager( const css::uno::Reference< css::uno::XComponentContext > & rxContext ); explicit UIConfigurationManager( const css::uno::Reference< css::uno::XComponentContext > & rxContext );
......
...@@ -1284,8 +1284,7 @@ public: ...@@ -1284,8 +1284,7 @@ public:
virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames()
throw (css::uno::RuntimeException, std::exception) override throw (css::uno::RuntimeException, std::exception) override
{ {
css::uno::Sequence< OUString > aSeq { "com.sun.star.ui.WindowStateConfiguration" }; return {"com.sun.star.ui.WindowStateConfiguration"};
return aSeq;
} }
// XNameAccess // XNameAccess
......
...@@ -197,8 +197,7 @@ public: ...@@ -197,8 +197,7 @@ public:
virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames()
throw (css::uno::RuntimeException, std::exception) override throw (css::uno::RuntimeException, std::exception) override
{ {
css::uno::Sequence< OUString > aSeq { "com.sun.star.frame.PopupMenuController" }; return {"com.sun.star.frame.PopupMenuController"};
return aSeq;
} }
// XPopupMenuController // XPopupMenuController
......
...@@ -79,8 +79,7 @@ public: ...@@ -79,8 +79,7 @@ public:
virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames()
throw (css::uno::RuntimeException, std::exception) override throw (css::uno::RuntimeException, std::exception) override
{ {
css::uno::Sequence< OUString > aSeq { "com.sun.star.frame.PopupMenuController" }; return {"com.sun.star.frame.PopupMenuController"};
return aSeq;
} }
// XStatusListener // XStatusListener
......
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