diff options
author | Chamal <e12346@ce.pdn.ac.lk> | 2016-10-02 14:46:34 +0530 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-02 10:56:41 +0000 |
commit | 9563c13247dec8fdad8bf4e5748e3495f1a5f843 (patch) | |
tree | f378d5bb2acea109e93121c657919cca1b9d745d /sw | |
parent | 793dae3e90692467c0f111cf5b127209f7f522fa (diff) |
tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor
Fixed the bug on sw/source/core/access/accpreview.cxx
Change-Id: Ia16b03f4e5c377a0715608efbd0730c196b26f4b
Reviewed-on: https://gerrit.libreoffice.org/29453
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/access/accpreview.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sw/source/core/access/accpreview.cxx b/sw/source/core/access/accpreview.cxx index e3b922b59073..75220d5c81a4 100644 --- a/sw/source/core/access/accpreview.cxx +++ b/sw/source/core/access/accpreview.cxx @@ -54,10 +54,8 @@ sal_Bool SwAccessiblePreview::supportsService( const OUString& rServiceName ) Sequence<OUString> SwAccessiblePreview::getSupportedServiceNames( ) throw( RuntimeException, std::exception ) { - Sequence<OUString> aSeq( 2 ); - aSeq[0] = "com.sun.star.text.AccessibleTextDocumentPageView"; - aSeq[1] = sAccessibleServiceName; - return aSeq; + return {"com.sun.star.text.AccessibleTextDocumentPageView", + sAccessibleServiceName}; } Sequence< sal_Int8 > SAL_CALL SwAccessiblePreview::getImplementationId() |