diff options
author | Mesut Çifci <mesutcifci97@gmail.com> | 2020-01-14 14:35:40 +0300 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-01-15 14:52:04 +0100 |
commit | 15abfe9ae976a0d940725cdd570facc372981393 (patch) | |
tree | 5d8c7d7d3987a421720df709ae45902ccee491ba /svx | |
parent | 52fece12345161911da2a531213b7d5541192aad (diff) |
tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor
Change-Id: Ice7c0ecc8ee05a5c3b0af458ceeee8191bdde322
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86752
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/customshapes/EnhancedCustomShapeEngine.cxx | 3 | ||||
-rw-r--r-- | svx/source/tbxctrls/fontworkgallery.cxx | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/svx/source/customshapes/EnhancedCustomShapeEngine.cxx b/svx/source/customshapes/EnhancedCustomShapeEngine.cxx index a7b08f99afc4..4eafe4712d7a 100644 --- a/svx/source/customshapes/EnhancedCustomShapeEngine.cxx +++ b/svx/source/customshapes/EnhancedCustomShapeEngine.cxx @@ -143,8 +143,7 @@ sal_Bool SAL_CALL EnhancedCustomShapeEngine::supportsService( const OUString& rS } Sequence< OUString > SAL_CALL EnhancedCustomShapeEngine::getSupportedServiceNames() { - Sequence<OUString> aRet { "com.sun.star.drawing.CustomShapeEngine" }; - return aRet; + return { "com.sun.star.drawing.CustomShapeEngine" }; } // XCustomShapeEngine diff --git a/svx/source/tbxctrls/fontworkgallery.cxx b/svx/source/tbxctrls/fontworkgallery.cxx index 3d22213ca065..10b29b7f29d4 100644 --- a/svx/source/tbxctrls/fontworkgallery.cxx +++ b/svx/source/tbxctrls/fontworkgallery.cxx @@ -406,8 +406,7 @@ OUString FontworkAlignmentControl::getImplementationName() Sequence< OUString > FontworkAlignmentControl::getSupportedServiceNames() { - Sequence<OUString> aSNS { "com.sun.star.frame.ToolbarController" }; - return aSNS; + return { "com.sun.star.frame.ToolbarController" }; } |