From b2f8318dbda8a09fa312663d14fcaf057ee5069d Mon Sep 17 00:00:00 2001 From: "Chr. Rossmanith" Date: Tue, 19 Mar 2013 21:15:00 +0100 Subject: simplify OUString assignments Change-Id: Ieffd80aa84c9a041785bb81b3a904a32d00cb2bb Reviewed-on: https://gerrit.libreoffice.org/2863 Reviewed-by: Noel Power Tested-by: Noel Power --- unoxml/source/rdf/CBlankNode.cxx | 6 +++--- unoxml/source/rdf/CLiteral.cxx | 6 +++--- unoxml/source/rdf/CURI.cxx | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) (limited to 'unoxml') diff --git a/unoxml/source/rdf/CBlankNode.cxx b/unoxml/source/rdf/CBlankNode.cxx index fd949ce641fe..1ddbbbce8900 100644 --- a/unoxml/source/rdf/CBlankNode.cxx +++ b/unoxml/source/rdf/CBlankNode.cxx @@ -128,10 +128,10 @@ namespace comp_CBlankNode { return ::rtl::OUString( "CBlankNode"); } -css::uno::Sequence< ::rtl::OUString > SAL_CALL _getSupportedServiceNames() +css::uno::Sequence< OUString > SAL_CALL _getSupportedServiceNames() { - css::uno::Sequence< ::rtl::OUString > s(1); - s[0] = ::rtl::OUString( "com.sun.star.rdf.BlankNode"); + css::uno::Sequence< OUString > s(1); + s[0] = "com.sun.star.rdf.BlankNode"; return s; } diff --git a/unoxml/source/rdf/CLiteral.cxx b/unoxml/source/rdf/CLiteral.cxx index 2261d45819bd..272f6d207cd9 100644 --- a/unoxml/source/rdf/CLiteral.cxx +++ b/unoxml/source/rdf/CLiteral.cxx @@ -191,10 +191,10 @@ namespace comp_CLiteral { return ::rtl::OUString( "CLiteral"); } -css::uno::Sequence< ::rtl::OUString > SAL_CALL _getSupportedServiceNames() +css::uno::Sequence< OUString > SAL_CALL _getSupportedServiceNames() { - css::uno::Sequence< ::rtl::OUString > s(1); - s[0] = ::rtl::OUString( "com.sun.star.rdf.Literal"); + css::uno::Sequence< OUString > s(1); + s[0] = "com.sun.star.rdf.Literal"; return s; } diff --git a/unoxml/source/rdf/CURI.cxx b/unoxml/source/rdf/CURI.cxx index d0955378e60f..c275b6861b3f 100644 --- a/unoxml/source/rdf/CURI.cxx +++ b/unoxml/source/rdf/CURI.cxx @@ -752,7 +752,7 @@ void SAL_CALL CURI::initialize(const css::uno::Sequence< ::com::sun::star::uno:: } // just append the parameters and then split them again; seems simplest arg0 = arg0 + arg1; - arg1 = ::rtl::OUString(); + arg1 = ""; } // split parameter @@ -819,10 +819,10 @@ namespace comp_CURI { "CURI"); } -css::uno::Sequence< ::rtl::OUString > SAL_CALL _getSupportedServiceNames() +css::uno::Sequence< OUString > SAL_CALL _getSupportedServiceNames() { - css::uno::Sequence< ::rtl::OUString > s(1); - s[0] = ::rtl::OUString( "com.sun.star.rdf.URI"); + css::uno::Sequence< OUString > s(1); + s[0] = "com.sun.star.rdf.URI"; return s; } -- cgit