From 84b0c3e9f7cc25a5d6860d2ca33852230201915f Mon Sep 17 00:00:00 2001 From: kerem Date: Sun, 7 Feb 2016 23:14:28 +0200 Subject: tdf#88205 Delete 'uno::Sequence' in svl Change-Id: I5f2d79bedcea2712070c4e50b6f9e6d0d0112920 Reviewed-on: https://gerrit.libreoffice.org/22193 Reviewed-by: Michael Stahl Tested-by: Michael Stahl --- svl/source/numbers/numfmuno.cxx | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'svl') 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 SAL_CALL SvNumberFormatterServiceObj::getSupportedServiceNames() throw(uno::RuntimeException, std::exception) { - uno::Sequence 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 SAL_CALL SvNumberFormatsObj::getSupportedServiceNames() throw(uno::RuntimeException, std::exception) { - uno::Sequence 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 SAL_CALL SvNumberFormatObj::getSupportedServiceNames() throw(uno::RuntimeException, std::exception) { - uno::Sequence 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 SAL_CALL SvNumberFormatSettingsObj::getSupportedServiceNames() throw(uno::RuntimeException, std::exception) { - uno::Sequence aRet { "com.sun.star.util.NumberFormatSettings" }; - return aRet; + return { "com.sun.star.util.NumberFormatSettings" }; } -- cgit