diff options
author | Chr. Rossmanith <ChrRossmanith@gmx.de> | 2013-03-19 21:15:00 +0100 |
---|---|---|
committer | Noel Power <noel.power@suse.com> | 2013-03-20 10:28:58 +0000 |
commit | b2f8318dbda8a09fa312663d14fcaf057ee5069d (patch) | |
tree | 1f06862395db47ed52450a0cb5425cc9463f5e27 /unoxml | |
parent | 04032bd6062638f6945e3911a491fa311404c507 (diff) |
simplify OUString assignments
Change-Id: Ieffd80aa84c9a041785bb81b3a904a32d00cb2bb
Reviewed-on: https://gerrit.libreoffice.org/2863
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
Diffstat (limited to 'unoxml')
-rw-r--r-- | unoxml/source/rdf/CBlankNode.cxx | 6 | ||||
-rw-r--r-- | unoxml/source/rdf/CLiteral.cxx | 6 | ||||
-rw-r--r-- | unoxml/source/rdf/CURI.cxx | 8 |
3 files changed, 10 insertions, 10 deletions
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; } |