summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--accessibility/source/standard/vclxaccessibleheaderbar.cxx3
-rw-r--r--connectivity/source/drivers/firebird/Column.cxx4
-rw-r--r--i18npool/source/ordinalsuffix/ordinalsuffix.cxx3
-rw-r--r--sax/source/fastparser/legacyfastparser.cxx3
-rw-r--r--sd/source/ui/unoidl/sddetect.cxx3
-rw-r--r--sd/source/ui/unoidl/unomodule.cxx3
-rw-r--r--stoc/source/security/file_policy.cxx3
-rw-r--r--stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTexpand.cxx3
-rw-r--r--stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTscript.cxx3
-rw-r--r--svl/source/numbers/supservs.cxx3
-rw-r--r--svtools/source/uno/addrtempuno.cxx3
-rw-r--r--svx/source/customshapes/EnhancedCustomShapeEngine.cxx3
-rw-r--r--svx/source/tbxctrls/fontworkgallery.cxx3
13 files changed, 13 insertions, 27 deletions
diff --git a/accessibility/source/standard/vclxaccessibleheaderbar.cxx b/accessibility/source/standard/vclxaccessibleheaderbar.cxx
index 65558bf26630..9eb46e5fea05 100644
--- a/accessibility/source/standard/vclxaccessibleheaderbar.cxx
+++ b/accessibility/source/standard/vclxaccessibleheaderbar.cxx
@@ -57,8 +57,7 @@ OUString VCLXAccessibleHeaderBar::getImplementationName()
Sequence< OUString > VCLXAccessibleHeaderBar::getSupportedServiceNames()
{
- Sequence<OUString> aNames { "com.sun.star.awt.AccessibleHeaderBar" };
- return aNames;
+ return { "com.sun.star.awt.AccessibleHeaderBar" };
}
// =======XAccessibleContext=======
diff --git a/connectivity/source/drivers/firebird/Column.cxx b/connectivity/source/drivers/firebird/Column.cxx
index 31767bf9c4b5..aa8abf9bb75c 100644
--- a/connectivity/source/drivers/firebird/Column.cxx
+++ b/connectivity/source/drivers/firebird/Column.cxx
@@ -45,9 +45,7 @@ void Column::construct()
css::uno::Sequence< OUString > SAL_CALL Column::getSupportedServiceNames( )
{
- css::uno::Sequence< OUString > aSupported { "com.sun.star.sdbc.Firebird" };
-
- return aSupported;
+ return { "com.sun.star.sdbc.Firebird" };
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/i18npool/source/ordinalsuffix/ordinalsuffix.cxx b/i18npool/source/ordinalsuffix/ordinalsuffix.cxx
index 69cf0cad795e..6f7f966cbe01 100644
--- a/i18npool/source/ordinalsuffix/ordinalsuffix.cxx
+++ b/i18npool/source/ordinalsuffix/ordinalsuffix.cxx
@@ -148,8 +148,7 @@ sal_Bool SAL_CALL OrdinalSuffixService::supportsService( const OUString& rServic
Sequence< OUString > SAL_CALL OrdinalSuffixService::getSupportedServiceNames()
{
- Sequence< OUString > aRet { cOrdinalSuffix };
- return aRet;
+ return { cOrdinalSuffix };
}
}
diff --git a/sax/source/fastparser/legacyfastparser.cxx b/sax/source/fastparser/legacyfastparser.cxx
index 6399e5069a44..6b11fbb3754a 100644
--- a/sax/source/fastparser/legacyfastparser.cxx
+++ b/sax/source/fastparser/legacyfastparser.cxx
@@ -362,8 +362,7 @@ sal_Bool SaxLegacyFastParser::supportsService(const OUString& ServiceName)
Sequence< OUString > SaxLegacyFastParser::getSupportedServiceNames()
{
- Sequence<OUString> seq { "com.sun.star.xml.sax.LegacyFastParser" };
- return seq;
+ return { "com.sun.star.xml.sax.LegacyFastParser" };
}
} //namespace
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" };
}
diff --git a/stoc/source/security/file_policy.cxx b/stoc/source/security/file_policy.cxx
index 05cbddbfc4ab..97b0496a9c6b 100644
--- a/stoc/source/security/file_policy.cxx
+++ b/stoc/source/security/file_policy.cxx
@@ -479,8 +479,7 @@ sal_Bool FilePolicy::supportsService( OUString const & serviceName )
Sequence< OUString > FilePolicy::getSupportedServiceNames()
{
- Sequence<OUString> aSNS { "com.sun.star.security.Policy" };
- return aSNS;
+ return { "com.sun.star.security.Policy" };
}
} // namespace
diff --git a/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTexpand.cxx b/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTexpand.cxx
index 1b73543bc5fb..dde6fcb0605f 100644
--- a/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTexpand.cxx
+++ b/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTexpand.cxx
@@ -173,8 +173,7 @@ sal_Bool Parser::supportsService(OUString const & serviceName)
css::uno::Sequence< OUString > Parser::getSupportedServiceNames()
{
- css::uno::Sequence< OUString > s { "com.sun.star.uri.UriSchemeParser_vndDOTsunDOTstarDOTexpand" };
- return s;
+ return { "com.sun.star.uri.UriSchemeParser_vndDOTsunDOTstarDOTexpand" };
}
css::uno::Reference< css::uri::XUriReference > Parser::parse(
diff --git a/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTscript.cxx b/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTscript.cxx
index 224d273fafb1..6f8624d270fb 100644
--- a/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTscript.cxx
+++ b/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTscript.cxx
@@ -384,8 +384,7 @@ sal_Bool Parser::supportsService(OUString const & serviceName)
css::uno::Sequence< OUString > Parser::getSupportedServiceNames()
{
- css::uno::Sequence< OUString > s { "com.sun.star.uri.UriSchemeParser_vndDOTsunDOTstarDOTscript" };
- return s;
+ return { "com.sun.star.uri.UriSchemeParser_vndDOTsunDOTstarDOTscript" };
}
css::uno::Reference< css::uri::XUriReference >
diff --git a/svl/source/numbers/supservs.cxx b/svl/source/numbers/supservs.cxx
index 307dbd11cbb2..30001d02966a 100644
--- a/svl/source/numbers/supservs.cxx
+++ b/svl/source/numbers/supservs.cxx
@@ -108,8 +108,7 @@ sal_Bool SAL_CALL SvNumberFormatsSupplierServiceObject::supportsService( const O
Sequence< OUString > SAL_CALL SvNumberFormatsSupplierServiceObject::getSupportedServiceNames( )
{
- Sequence< OUString > aSupported { "com.sun.star.util.NumberFormatsSupplier" };
- return aSupported;
+ return { "com.sun.star.util.NumberFormatsSupplier" };
}
Reference< XPropertySet > SAL_CALL SvNumberFormatsSupplierServiceObject::getNumberFormatSettings()
diff --git a/svtools/source/uno/addrtempuno.cxx b/svtools/source/uno/addrtempuno.cxx
index 7af43f88e95c..3d3a8c4a11e6 100644
--- a/svtools/source/uno/addrtempuno.cxx
+++ b/svtools/source/uno/addrtempuno.cxx
@@ -101,8 +101,7 @@ namespace {
css::uno::Sequence<OUString> SAL_CALL OAddressBookSourceDialogUno::getSupportedServiceNames()
{
- css::uno::Sequence<OUString> aSupported { "com.sun.star.ui.AddressBookSourceDialog" };
- return aSupported;
+ return { "com.sun.star.ui.AddressBookSourceDialog" };
}
diff --git a/svx/source/customshapes/EnhancedCustomShapeEngine.cxx b/svx/source/customshapes/EnhancedCustomShapeEngine.cxx
index a7b08f99afc4..4eafe4712d7a 100644
--- a/svx/source/customshapes/EnhancedCustomShapeEngine.cxx
+++ b/svx/source/customshapes/EnhancedCustomShapeEngine.cxx
@@ -143,8 +143,7 @@ sal_Bool SAL_CALL EnhancedCustomShapeEngine::supportsService( const OUString& rS
}
Sequence< OUString > SAL_CALL EnhancedCustomShapeEngine::getSupportedServiceNames()
{
- Sequence<OUString> aRet { "com.sun.star.drawing.CustomShapeEngine" };
- return aRet;
+ return { "com.sun.star.drawing.CustomShapeEngine" };
}
// XCustomShapeEngine
diff --git a/svx/source/tbxctrls/fontworkgallery.cxx b/svx/source/tbxctrls/fontworkgallery.cxx
index 3d22213ca065..10b29b7f29d4 100644
--- a/svx/source/tbxctrls/fontworkgallery.cxx
+++ b/svx/source/tbxctrls/fontworkgallery.cxx
@@ -406,8 +406,7 @@ OUString FontworkAlignmentControl::getImplementationName()
Sequence< OUString > FontworkAlignmentControl::getSupportedServiceNames()
{
- Sequence<OUString> aSNS { "com.sun.star.frame.ToolbarController" };
- return aSNS;
+ return { "com.sun.star.frame.ToolbarController" };
}