diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2019-08-17 11:39:47 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2019-08-17 12:26:15 +0200 |
commit | 3d24130986e6a0e1baa2cff61309f0f42cf0c339 (patch) | |
tree | 9f35ddcbcc78b5e15fe2b5b2c4d4613ccdfa35ae /editeng | |
parent | 1d08f0f215dcf5fec9390bd9c84357bc96a9338a (diff) |
Use simplified syntax for Sequence
Change-Id: I92ac60fafcc404439c101d1950ed214fce140c91
Reviewed-on: https://gerrit.libreoffice.org/77621
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/accessibility/AccessibleImageBullet.cxx | 2 | ||||
-rw-r--r-- | editeng/source/uno/unonrule.cxx | 2 | ||||
-rw-r--r-- | editeng/source/uno/unotext.cxx | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/editeng/source/accessibility/AccessibleImageBullet.cxx b/editeng/source/accessibility/AccessibleImageBullet.cxx index 3c9f7a0fc89b..ce0068071387 100644 --- a/editeng/source/accessibility/AccessibleImageBullet.cxx +++ b/editeng/source/accessibility/AccessibleImageBullet.cxx @@ -359,7 +359,7 @@ namespace accessibility uno::Sequence< OUString > SAL_CALL AccessibleImageBullet::getSupportedServiceNames() { - return uno::Sequence< OUString >{ "com.sun.star.accessibility.AccessibleContext" }; + return { "com.sun.star.accessibility.AccessibleContext" }; } void AccessibleImageBullet::SetIndexInParent( sal_Int32 nIndex ) diff --git a/editeng/source/uno/unonrule.cxx b/editeng/source/uno/unonrule.cxx index c9df5b169448..3742a02a1db5 100644 --- a/editeng/source/uno/unonrule.cxx +++ b/editeng/source/uno/unonrule.cxx @@ -165,7 +165,7 @@ sal_Bool SAL_CALL SvxUnoNumberingRules::supportsService( const OUString& Service Sequence< OUString > SAL_CALL SvxUnoNumberingRules::getSupportedServiceNames( ) { - return Sequence< OUString > { "com.sun.star.text.NumberingRules" }; + return { "com.sun.star.text.NumberingRules" }; } Sequence<beans::PropertyValue> SvxUnoNumberingRules::getNumberingRuleByIndex(sal_Int32 nIndex) const diff --git a/editeng/source/uno/unotext.cxx b/editeng/source/uno/unotext.cxx index 74d453939ce5..095a26d65976 100644 --- a/editeng/source/uno/unotext.cxx +++ b/editeng/source/uno/unotext.cxx @@ -1442,9 +1442,9 @@ uno::Sequence< OUString > SAL_CALL SvxUnoTextRangeBase::getSupportedServiceNames uno::Sequence< OUString > SvxUnoTextRangeBase::getSupportedServiceNames_Static() { - return uno::Sequence< OUString >{ "com.sun.star.style.CharacterProperties", - "com.sun.star.style.CharacterPropertiesComplex", - "com.sun.star.style.CharacterPropertiesAsian" }; + return { "com.sun.star.style.CharacterProperties", + "com.sun.star.style.CharacterPropertiesComplex", + "com.sun.star.style.CharacterPropertiesAsian" }; } // XTextRangeCompare |