[Libreoffice-commits] core.git: svx/source
Batuhan Taskaya (via logerrit)
logerrit at kemper.freedesktop.org
Mon Jan 27 21:08:13 UTC 2020
svx/source/tbxctrls/extrusioncontrols.cxx | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
New commits:
commit d39ad9cdd5f02b01d4d7b747a9c20168cbe915eb
Author: Batuhan Taskaya <isidentical at gmail.com>
AuthorDate: Mon Jan 27 11:54:10 2020 +0300
Commit: Muhammet Kara <muhammet.kara at collabora.com>
CommitDate: Mon Jan 27 22:07:38 2020 +0100
tdf#88205: Adapt uses of css::uno::Sequence to use initializer_list ctor
Change-Id: Ic2013a741fc1288ff04f7cfc3617fd4689a7db0b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87497
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara at collabora.com>
diff --git a/svx/source/tbxctrls/extrusioncontrols.cxx b/svx/source/tbxctrls/extrusioncontrols.cxx
index 5984873ba50e..3ada4301154a 100644
--- a/svx/source/tbxctrls/extrusioncontrols.cxx
+++ b/svx/source/tbxctrls/extrusioncontrols.cxx
@@ -303,8 +303,7 @@ OUString ExtrusionDirectionControl::getImplementationName()
Sequence< OUString > ExtrusionDirectionControl::getSupportedServiceNames()
{
- Sequence<OUString> aSNS { "com.sun.star.frame.ToolbarController" };
- return aSNS;
+ return { "com.sun.star.frame.ToolbarController" };
}
@@ -562,8 +561,7 @@ OUString ExtrusionDepthController::getImplementationName()
Sequence< OUString > ExtrusionDepthController::getSupportedServiceNames()
{
- Sequence<OUString> aSNS { "com.sun.star.frame.ToolbarController" };
- return aSNS;
+ return { "com.sun.star.frame.ToolbarController" };
}
@@ -800,8 +798,7 @@ OUString ExtrusionLightingControl::getImplementationName()
Sequence< OUString > ExtrusionLightingControl::getSupportedServiceNames()
{
- Sequence<OUString> aSNS { "com.sun.star.frame.ToolbarController" };
- return aSNS;
+ return { "com.sun.star.frame.ToolbarController" };
}
@@ -939,8 +936,7 @@ OUString ExtrusionSurfaceControl::getImplementationName()
Sequence< OUString > ExtrusionSurfaceControl::getSupportedServiceNames()
{
- Sequence<OUString> aSNS { "com.sun.star.frame.ToolbarController" };
- return aSNS;
+ return { "com.sun.star.frame.ToolbarController" };
}
More information about the Libreoffice-commits
mailing list