diff options
author | kerem <hallackerem@gmail.com> | 2016-02-07 23:14:28 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-02-08 20:02:43 +0000 |
commit | 84b0c3e9f7cc25a5d6860d2ca33852230201915f (patch) | |
tree | 14cafd6a0b698e5b9b3ea59eedd7ff90948bd44a /svl | |
parent | 809154904fe66441ada6985b153b4c1b20f3eb8f (diff) |
tdf#88205 Delete 'uno::Sequence' in svl
Change-Id: I5f2d79bedcea2712070c4e50b6f9e6d0d0112920
Reviewed-on: https://gerrit.libreoffice.org/22193
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/numbers/numfmuno.cxx | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/svl/source/numbers/numfmuno.cxx b/svl/source/numbers/numfmuno.cxx index 52070c2c3309..de6fa570da0d 100644 --- a/svl/source/numbers/numfmuno.cxx +++ b/svl/source/numbers/numfmuno.cxx @@ -379,8 +379,7 @@ sal_Bool SAL_CALL SvNumberFormatterServiceObj::supportsService( const OUString& uno::Sequence<OUString> SAL_CALL SvNumberFormatterServiceObj::getSupportedServiceNames() throw(uno::RuntimeException, std::exception) { - uno::Sequence<OUString> aRet { "com.sun.star.util.NumberFormatter" }; - return aRet; + return { "com.sun.star.util.NumberFormatter" }; } SvNumberFormatsObj::SvNumberFormatsObj( SvNumberFormatsSupplierObj& _rParent, ::comphelper::SharedMutex& _rMutex ) @@ -668,8 +667,7 @@ sal_Bool SAL_CALL SvNumberFormatsObj::supportsService( const OUString& ServiceNa uno::Sequence<OUString> SAL_CALL SvNumberFormatsObj::getSupportedServiceNames() throw(uno::RuntimeException, std::exception) { - uno::Sequence<OUString> aRet { "com.sun.star.util.NumberFormats" }; - return aRet; + return { "com.sun.star.util.NumberFormats" }; } SvNumberFormatObj::SvNumberFormatObj( SvNumberFormatsSupplierObj& rParent, sal_uLong nK, const ::comphelper::SharedMutex& _rMutex ) @@ -923,8 +921,7 @@ sal_Bool SAL_CALL SvNumberFormatObj::supportsService( const OUString& ServiceNam uno::Sequence<OUString> SAL_CALL SvNumberFormatObj::getSupportedServiceNames() throw(uno::RuntimeException, std::exception) { - uno::Sequence<OUString> aRet { "com.sun.star.util.NumberFormatProperties" }; - return aRet; + return { "com.sun.star.util.NumberFormatProperties" }; } SvNumberFormatSettingsObj::SvNumberFormatSettingsObj( SvNumberFormatsSupplierObj& rParent, const ::comphelper::SharedMutex& _rMutex ) @@ -1077,8 +1074,7 @@ sal_Bool SAL_CALL SvNumberFormatSettingsObj::supportsService( const OUString& Se uno::Sequence<OUString> SAL_CALL SvNumberFormatSettingsObj::getSupportedServiceNames() throw(uno::RuntimeException, std::exception) { - uno::Sequence<OUString> aRet { "com.sun.star.util.NumberFormatSettings" }; - return aRet; + return { "com.sun.star.util.NumberFormatSettings" }; } |