summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhalfhiddencode <halfhiddencode@gmail.com>2020-12-28 19:22:57 +0530
committerMike Kaganski <mike.kaganski@collabora.com>2021-01-04 10:13:27 +0100
commitd7aa42dc1bbedb375a2524cbbc87650e55615e87 (patch)
tree025bc82fac68a244c9745038f01b6e0969e5481e
parent356df4edffd6a212d0bbe7f8aa51de7a922e41b0 (diff)
tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor
Change-Id: I3973c223e0f26b1ab042752d5f212c77ed2acec9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108411 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Jenkins
-rw-r--r--vcl/source/graphic/UnoGraphicProvider.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/source/graphic/UnoGraphicProvider.cxx b/vcl/source/graphic/UnoGraphicProvider.cxx
index 636293e9957d..73147b907d8e 100644
--- a/vcl/source/graphic/UnoGraphicProvider.cxx
+++ b/vcl/source/graphic/UnoGraphicProvider.cxx
@@ -102,8 +102,7 @@ sal_Bool SAL_CALL GraphicProvider::supportsService( const OUString& ServiceName
uno::Sequence< OUString > SAL_CALL GraphicProvider::getSupportedServiceNames()
{
- uno::Sequence<OUString> aSeq { "com.sun.star.graphic.GraphicProvider" };
- return aSeq;
+ return { "com.sun.star.graphic.GraphicProvider" };
}
uno::Sequence< uno::Type > SAL_CALL GraphicProvider::getTypes()