summaryrefslogtreecommitdiff
path: root/svx/source/tbxctrls/tbunosearchcontrollers.cxx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2019-08-17 20:53:12 +0200
committerJulien Nabet <serval2412@yahoo.fr>2019-08-17 22:16:51 +0200
commit4073994154fbcb3b3ae7ff396fee916a994265c7 (patch)
tree82e81d9a9a345eab3b9d67e3464639451f833004 /svx/source/tbxctrls/tbunosearchcontrollers.cxx
parentc5be21da5072a78525ee07bb16dfcf391b8dbf32 (diff)
tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor
in svx Change-Id: I70cba5dbfed9b2bbfe82d89c9dc6a5875c953bd3 Reviewed-on: https://gerrit.libreoffice.org/77649 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'svx/source/tbxctrls/tbunosearchcontrollers.cxx')
-rw-r--r--svx/source/tbxctrls/tbunosearchcontrollers.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/svx/source/tbxctrls/tbunosearchcontrollers.cxx b/svx/source/tbxctrls/tbunosearchcontrollers.cxx
index 1beda67e61d6..9499da1a99fa 100644
--- a/svx/source/tbxctrls/tbunosearchcontrollers.cxx
+++ b/svx/source/tbxctrls/tbunosearchcontrollers.cxx
@@ -1372,10 +1372,7 @@ sal_Bool SAL_CALL FindbarDispatcher::supportsService( const OUString& ServiceNam
css::uno::Sequence< OUString > SAL_CALL FindbarDispatcher::getSupportedServiceNames()
{
- css::uno::Sequence< OUString > aSNS( 2 );
- aSNS[0] = "com.sun.star.comp.svx.FindbarDispatcher";
- aSNS[1] = "com.sun.star.frame.ProtocolHandler";
- return aSNS;
+ return { "com.sun.star.comp.svx.FindbarDispatcher", "com.sun.star.frame.ProtocolHandler" };
}
// XInitialization