summaryrefslogtreecommitdiffstats
path: root/basctl/source/accessibility
diff options
context:
space:
mode:
authorMuhammet Kara <muhammet.kara@pardus.org.tr>2016-08-01 15:00:00 +0300
committerNoel Grandin <noelgrandin@gmail.com>2016-08-04 05:40:11 +0000
commit0bd4154b176af84e036c4f0869e635e9fcefed1c (patch)
tree36cde969568f1705faff9bfb5459b0ca54d0e465 /basctl/source/accessibility
parenttdf#101185 OString concatanations for efficiently coding (diff)
downloadcore-0bd4154b176af84e036c4f0869e635e9fcefed1c.tar.gz
core-0bd4154b176af84e036c4f0869e635e9fcefed1c.zip
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/source/accessibility')
-rw-r--r--basctl/source/accessibility/accessibledialogcontrolshape.cxx3
-rw-r--r--basctl/source/accessibility/accessibledialogwindow.cxx3
2 files changed, 2 insertions, 4 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