[Libreoffice-commits] core.git: unoxml/source

Dilek Uzulmez dilekuzulmez at gmail.com
Thu May 18 07:35:07 UTC 2017


 unoxml/source/rdf/CLiteral.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 7902ac9fbcdbaefa5ec4e7d8d07c240aecad346a
Author: Dilek Uzulmez <dilekuzulmez at gmail.com>
Date:   Wed May 17 16:02:24 2017 +0300

    tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor
    
    Change-Id: I37ab94954f30ad24418ee7453911557ded4f5ee8
    Reviewed-on: https://gerrit.libreoffice.org/37707
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/unoxml/source/rdf/CLiteral.cxx b/unoxml/source/rdf/CLiteral.cxx
index fc1b2044ec3d..a922dc874397 100644
--- a/unoxml/source/rdf/CLiteral.cxx
+++ b/unoxml/source/rdf/CLiteral.cxx
@@ -179,8 +179,7 @@ OUString SAL_CALL _getImplementationName() {
 
 css::uno::Sequence< OUString > SAL_CALL _getSupportedServiceNames()
 {
-    css::uno::Sequence< OUString > s { "com.sun.star.rdf.Literal" };
-    return s;
+    return { "com.sun.star.rdf.Literal" };
 }
 
 css::uno::Reference< css::uno::XInterface > SAL_CALL _create(


More information about the Libreoffice-commits mailing list