summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorMesut Çifci <mesutcifci97@gmail.com>2020-01-14 14:35:40 +0300
committerStephan Bergmann <sbergman@redhat.com>2020-01-15 14:52:04 +0100
commit15abfe9ae976a0d940725cdd570facc372981393 (patch)
tree5d8c7d7d3987a421720df709ae45902ccee491ba /sd
parent52fece12345161911da2a531213b7d5541192aad (diff)
tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor
Change-Id: Ice7c0ecc8ee05a5c3b0af458ceeee8191bdde322 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86752 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/unoidl/sddetect.cxx3
-rw-r--r--sd/source/ui/unoidl/unomodule.cxx3
2 files changed, 2 insertions, 4 deletions
diff --git a/sd/source/ui/unoidl/sddetect.cxx b/sd/source/ui/unoidl/sddetect.cxx
index 5a7ed99dcc8b..fb66f4fabc59 100644
--- a/sd/source/ui/unoidl/sddetect.cxx
+++ b/sd/source/ui/unoidl/sddetect.cxx
@@ -146,8 +146,7 @@ sal_Bool SAL_CALL SdFilterDetect::supportsService( const OUString& sServiceName
// XServiceInfo
Sequence< OUString > SAL_CALL SdFilterDetect::getSupportedServiceNames()
{
- Sequence<OUString> seqServiceNames { "com.sun.star.frame.ExtendedTypeDetection" };
- return seqServiceNames ;
+ return { "com.sun.star.frame.ExtendedTypeDetection" };
}
diff --git a/sd/source/ui/unoidl/unomodule.cxx b/sd/source/ui/unoidl/unomodule.cxx
index 813bfcdb2aff..0ea5527b3548 100644
--- a/sd/source/ui/unoidl/unomodule.cxx
+++ b/sd/source/ui/unoidl/unomodule.cxx
@@ -115,8 +115,7 @@ sal_Bool SAL_CALL SdUnoModule::supportsService( const OUString& sServiceName )
uno::Sequence< OUString > SAL_CALL SdUnoModule::getSupportedServiceNames( )
{
- uno::Sequence<OUString> aSeq { "com.sun.star.drawing.ModuleDispatcher" };
- return aSeq;
+ return { "com.sun.star.drawing.ModuleDispatcher" };
}