svl/source/numbers/numfmuno.cxx |   12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

New commits:
commit 84b0c3e9f7cc25a5d6860d2ca33852230201915f
Author: kerem <hallacke...@gmail.com>
Date:   Sun Feb 7 23:14:28 2016 +0200

    tdf#88205 Delete 'uno::Sequence' in svl
    
    Change-Id: I5f2d79bedcea2712070c4e50b6f9e6d0d0112920
    Reviewed-on: https://gerrit.libreoffice.org/22193
    Reviewed-by: Michael Stahl <mst...@redhat.com>
    Tested-by: Michael Stahl <mst...@redhat.com>

diff --git a/svl/source/numbers/numfmuno.cxx b/svl/source/numbers/numfmuno.cxx
index 52070c2..de6fa57 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" };
 }
 
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to