summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/config/ldap/ldapuserprofilebe.cxx3
-rw-r--r--extensions/source/propctrlr/eformspropertyhandler.cxx3
-rw-r--r--extensions/source/propctrlr/submissionhandler.cxx3
3 files changed, 3 insertions, 6 deletions
diff --git a/extensions/source/config/ldap/ldapuserprofilebe.cxx b/extensions/source/config/ldap/ldapuserprofilebe.cxx
index f86cb8b08439..daabc23c09ed 100644
--- a/extensions/source/config/ldap/ldapuserprofilebe.cxx
+++ b/extensions/source/config/ldap/ldapuserprofilebe.cxx
@@ -226,8 +226,7 @@ OUString SAL_CALL LdapUserProfileBe::getImplementationName()
uno::Sequence<OUString> SAL_CALL LdapUserProfileBe::getLdapUserProfileBeServiceNames()
{
- uno::Sequence<OUString> aServices(1) ;
- aServices[0] = "com.sun.star.configuration.backend.LdapUserProfileBe";
+ uno::Sequence<OUString> aServices { "com.sun.star.configuration.backend.LdapUserProfileBe" };
return aServices ;
}
diff --git a/extensions/source/propctrlr/eformspropertyhandler.cxx b/extensions/source/propctrlr/eformspropertyhandler.cxx
index 8d8e5143889b..d4870a456f99 100644
--- a/extensions/source/propctrlr/eformspropertyhandler.cxx
+++ b/extensions/source/propctrlr/eformspropertyhandler.cxx
@@ -398,8 +398,7 @@ namespace pcr
if ( !m_pHelper.get() )
return Sequence< OUString >();
- Sequence< OUString > aReturn( 1 );
- aReturn[ 0 ] = PROPERTY_INPUT_REQUIRED;
+ Sequence<OUString> aReturn { PROPERTY_INPUT_REQUIRED };
return aReturn;
}
diff --git a/extensions/source/propctrlr/submissionhandler.cxx b/extensions/source/propctrlr/submissionhandler.cxx
index 3c37ad044a03..f523cc7ad7f6 100644
--- a/extensions/source/propctrlr/submissionhandler.cxx
+++ b/extensions/source/propctrlr/submissionhandler.cxx
@@ -215,8 +215,7 @@ namespace pcr
if ( !m_pHelper.get() )
return Sequence< OUString >();
- Sequence< OUString > aReturn( 1 );
- aReturn[ 0 ] = PROPERTY_XFORMS_BUTTONTYPE;
+ Sequence<OUString> aReturn { PROPERTY_XFORMS_BUTTONTYPE };
return aReturn;
}