summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extensions/source/propctrlr/formcontroller.cxx6
-rw-r--r--remotebridges/source/unourl_resolver/unourl_resolver.cxx3
-rw-r--r--svx/source/unodraw/unobtabl.cxx3
-rw-r--r--svx/source/unodraw/unodtabl.cxx3
-rw-r--r--svx/source/unodraw/unogtabl.cxx3
-rw-r--r--svx/source/unodraw/unohtabl.cxx3
-rw-r--r--svx/source/unodraw/unottabl.cxx3
-rw-r--r--unoxml/source/rdf/librdf_repository.cxx3
8 files changed, 9 insertions, 18 deletions
diff --git a/extensions/source/propctrlr/formcontroller.cxx b/extensions/source/propctrlr/formcontroller.cxx
index 5ac5f7fed1fb..b9eb032776b0 100644
--- a/extensions/source/propctrlr/formcontroller.cxx
+++ b/extensions/source/propctrlr/formcontroller.cxx
@@ -127,8 +127,7 @@ namespace pcr
Sequence< OUString > FormController::getSupportedServiceNames_static( )
{
- Sequence< OUString > aSupported { "com.sun.star.form.PropertyBrowserController" };
- return aSupported;
+ return { "com.sun.star.form.PropertyBrowserController" };
}
@@ -254,8 +253,7 @@ namespace pcr
Sequence< OUString > DialogController::getSupportedServiceNames_static( )
{
- Sequence< OUString > aSupported { "com.sun.star.awt.PropertyBrowserController" };
- return aSupported;
+ return { "com.sun.star.awt.PropertyBrowserController" };
}
diff --git a/remotebridges/source/unourl_resolver/unourl_resolver.cxx b/remotebridges/source/unourl_resolver/unourl_resolver.cxx
index 4339b30a6dab..d4eea66c0269 100644
--- a/remotebridges/source/unourl_resolver/unourl_resolver.cxx
+++ b/remotebridges/source/unourl_resolver/unourl_resolver.cxx
@@ -46,8 +46,7 @@ namespace unourl_resolver
static Sequence< OUString > resolver_getSupportedServiceNames()
{
- Sequence< OUString > seqNames { "com.sun.star.bridge.UnoUrlResolver" };
- return seqNames;
+ return { "com.sun.star.bridge.UnoUrlResolver" };
}
static OUString resolver_getImplementationName()
diff --git a/svx/source/unodraw/unobtabl.cxx b/svx/source/unodraw/unobtabl.cxx
index f94369907f73..4d9c5ded9bfd 100644
--- a/svx/source/unodraw/unobtabl.cxx
+++ b/svx/source/unodraw/unobtabl.cxx
@@ -84,8 +84,7 @@ OUString SAL_CALL SvxUnoBitmapTable::getImplementationName()
uno::Sequence< OUString > SAL_CALL SvxUnoBitmapTable::getSupportedServiceNames( )
{
- uno::Sequence<OUString> aSNS { "com.sun.star.drawing.BitmapTable" };
- return aSNS;
+ return { "com.sun.star.drawing.BitmapTable" };
}
NameOrIndex* SvxUnoBitmapTable::createItem() const
diff --git a/svx/source/unodraw/unodtabl.cxx b/svx/source/unodraw/unodtabl.cxx
index f285ac30c7d1..9cf86c223894 100644
--- a/svx/source/unodraw/unodtabl.cxx
+++ b/svx/source/unodraw/unodtabl.cxx
@@ -64,8 +64,7 @@ OUString SAL_CALL SvxUnoDashTable::getImplementationName()
uno::Sequence< OUString > SAL_CALL SvxUnoDashTable::getSupportedServiceNames( )
{
- uno::Sequence<OUString> aSNS { "com.sun.star.drawing.DashTable" };
- return aSNS;
+ return { "com.sun.star.drawing.DashTable" };
}
NameOrIndex* SvxUnoDashTable::createItem() const
diff --git a/svx/source/unodraw/unogtabl.cxx b/svx/source/unodraw/unogtabl.cxx
index 4b3842c9d026..d7b66ef76513 100644
--- a/svx/source/unodraw/unogtabl.cxx
+++ b/svx/source/unodraw/unogtabl.cxx
@@ -63,8 +63,7 @@ OUString SAL_CALL SvxUnoGradientTable::getImplementationName()
uno::Sequence< OUString > SAL_CALL SvxUnoGradientTable::getSupportedServiceNames( )
{
- uno::Sequence<OUString> aSNS { "com.sun.star.drawing.GradientTable" };
- return aSNS;
+ return { "com.sun.star.drawing.GradientTable" };
}
diff --git a/svx/source/unodraw/unohtabl.cxx b/svx/source/unodraw/unohtabl.cxx
index ec114ba91b10..9adb450007e2 100644
--- a/svx/source/unodraw/unohtabl.cxx
+++ b/svx/source/unodraw/unohtabl.cxx
@@ -63,8 +63,7 @@ OUString SAL_CALL SvxUnoHatchTable::getImplementationName()
uno::Sequence< OUString > SAL_CALL SvxUnoHatchTable::getSupportedServiceNames( )
{
- uno::Sequence<OUString> aSNS { "com.sun.star.drawing.HatchTable" };
- return aSNS;
+ return { "com.sun.star.drawing.HatchTable" };
}
NameOrIndex* SvxUnoHatchTable::createItem() const
diff --git a/svx/source/unodraw/unottabl.cxx b/svx/source/unodraw/unottabl.cxx
index 9653f36360bb..8a9e48437c5c 100644
--- a/svx/source/unodraw/unottabl.cxx
+++ b/svx/source/unodraw/unottabl.cxx
@@ -63,8 +63,7 @@ OUString SAL_CALL SvxUnoTransGradientTable::getImplementationName()
uno::Sequence< OUString > SAL_CALL SvxUnoTransGradientTable::getSupportedServiceNames( )
{
- uno::Sequence<OUString> aSNS { "com.sun.star.drawing.TransparencyGradientTable" };
- return aSNS;
+ return { "com.sun.star.drawing.TransparencyGradientTable" };
}
NameOrIndex* SvxUnoTransGradientTable::createItem() const
diff --git a/unoxml/source/rdf/librdf_repository.cxx b/unoxml/source/rdf/librdf_repository.cxx
index df9f34001441..aca43c107e77 100644
--- a/unoxml/source/rdf/librdf_repository.cxx
+++ b/unoxml/source/rdf/librdf_repository.cxx
@@ -2464,8 +2464,7 @@ OUString _getImplementationName() {
uno::Sequence< OUString > _getSupportedServiceNames()
{
- uno::Sequence< OUString > s { "com.sun.star.rdf.Repository" };
- return s;
+ return { "com.sun.star.rdf.Repository" };
}
uno::Reference< uno::XInterface > _create(