diff options
author | Muhammet Kara <muhammet.kara@pardus.org.tr> | 2016-08-01 15:00:00 +0300 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-08-04 05:40:11 +0000 |
commit | 0bd4154b176af84e036c4f0869e635e9fcefed1c (patch) | |
tree | 36cde969568f1705faff9bfb5459b0ca54d0e465 /basctl | |
parent | 51cf057f4e5277ef5ce99c76dd67aeff702a448e (diff) |
tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor
in basctl, basegfx, canvas
Change-Id: I59383d2599793b99b560333387e163a3d80eecec
Reviewed-on: https://gerrit.libreoffice.org/27778
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/accessibility/accessibledialogcontrolshape.cxx | 3 | ||||
-rw-r--r-- | basctl/source/accessibility/accessibledialogwindow.cxx | 3 | ||||
-rw-r--r-- | basctl/source/basicide/unomodel.cxx | 3 |
3 files changed, 3 insertions, 6 deletions
diff --git a/basctl/source/accessibility/accessibledialogcontrolshape.cxx b/basctl/source/accessibility/accessibledialogcontrolshape.cxx index a0b4d4716a58..b4f8ac0971ca 100644 --- a/basctl/source/accessibility/accessibledialogcontrolshape.cxx +++ b/basctl/source/accessibility/accessibledialogcontrolshape.cxx @@ -301,8 +301,7 @@ sal_Bool AccessibleDialogControlShape::supportsService( const OUString& rService Sequence< OUString > AccessibleDialogControlShape::getSupportedServiceNames() throw (RuntimeException, std::exception) { - Sequence<OUString> aNames { "com.sun.star.drawing.AccessibleShape" }; - return aNames; + return { "com.sun.star.drawing.AccessibleShape" }; } // XAccessible diff --git a/basctl/source/accessibility/accessibledialogwindow.cxx b/basctl/source/accessibility/accessibledialogwindow.cxx index dc56db4a6dbc..18e07bc6a340 100644 --- a/basctl/source/accessibility/accessibledialogwindow.cxx +++ b/basctl/source/accessibility/accessibledialogwindow.cxx @@ -585,8 +585,7 @@ sal_Bool AccessibleDialogWindow::supportsService( const OUString& rServiceName ) Sequence< OUString > AccessibleDialogWindow::getSupportedServiceNames() throw (RuntimeException, std::exception) { - Sequence<OUString> aNames { "com.sun.star.awt.AccessibleWindow" }; - return aNames; + return { "com.sun.star.awt.AccessibleWindow" }; } // XAccessible diff --git a/basctl/source/basicide/unomodel.cxx b/basctl/source/basicide/unomodel.cxx index fe1942b07018..5cceb2a599c5 100644 --- a/basctl/source/basicide/unomodel.cxx +++ b/basctl/source/basicide/unomodel.cxx @@ -99,8 +99,7 @@ uno::Sequence< OUString > SIDEModel::getSupportedServiceNames() throw( uno::Runt uno::Sequence< OUString > SIDEModel::getSupportedServiceNames_Static() { - uno::Sequence< OUString > aRet { "com.sun.star.script.BasicIDE" }; - return aRet; + return { "com.sun.star.script.BasicIDE" }; } uno::Reference< uno::XInterface > SAL_CALL SIDEModel_createInstance( |