Kaydet (Commit) 9563c132 authored tarafından Chamal's avatar Chamal Kaydeden (comit) Noel Grandin

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/29453Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 793dae3e
...@@ -54,10 +54,8 @@ sal_Bool SwAccessiblePreview::supportsService( const OUString& rServiceName ) ...@@ -54,10 +54,8 @@ sal_Bool SwAccessiblePreview::supportsService( const OUString& rServiceName )
Sequence<OUString> SwAccessiblePreview::getSupportedServiceNames( ) Sequence<OUString> SwAccessiblePreview::getSupportedServiceNames( )
throw( RuntimeException, std::exception ) throw( RuntimeException, std::exception )
{ {
Sequence<OUString> aSeq( 2 ); return {"com.sun.star.text.AccessibleTextDocumentPageView",
aSeq[0] = "com.sun.star.text.AccessibleTextDocumentPageView"; sAccessibleServiceName};
aSeq[1] = sAccessibleServiceName;
return aSeq;
} }
Sequence< sal_Int8 > SAL_CALL SwAccessiblePreview::getImplementationId() Sequence< sal_Int8 > SAL_CALL SwAccessiblePreview::getImplementationId()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment