summaryrefslogtreecommitdiff
path: root/framework/source/services/substitutepathvars.cxx
diff options
context:
space:
mode:
authorHieronymous <sudk1896@gmail.com>2016-10-14 01:17:10 +0530
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-14 06:31:00 +0000
commitdd5e0814cd3d6b1d914e3beaca07fb9cd34e3977 (patch)
treed3cf54a83a70efa56b530f419e8d22b5a3ce2257 /framework/source/services/substitutepathvars.cxx
parentdb0cb39225c5f865c199f8aa0b3fa4aa6e721de1 (diff)
tdf#88205 Adapt uses of css::uno::Sequence to use initialize_list ctor
Change-Id: Idb456f6cf0b4f3dda4b92d341ae6de59cb9879e2 Reviewed-on: https://gerrit.libreoffice.org/29797 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'framework/source/services/substitutepathvars.cxx')
-rw-r--r--framework/source/services/substitutepathvars.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/framework/source/services/substitutepathvars.cxx b/framework/source/services/substitutepathvars.cxx
index e4d15c7b5752..0bbc05563b8d 100644
--- a/framework/source/services/substitutepathvars.cxx
+++ b/framework/source/services/substitutepathvars.cxx
@@ -153,8 +153,7 @@ public:
virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames()
throw (css::uno::RuntimeException, std::exception) override
{
- css::uno::Sequence< OUString > aSeq { "com.sun.star.util.PathSubstitution" };
- return aSeq;
+ return {"com.sun.star.util.PathSubstitution"};
}
// XStringSubstitution