summaryrefslogtreecommitdiff
path: root/unoxml
diff options
context:
space:
mode:
Diffstat (limited to 'unoxml')
-rw-r--r--unoxml/source/rdf/CBlankNode.cxx3
-rw-r--r--unoxml/source/rdf/CLiteral.cxx3
-rw-r--r--unoxml/source/rdf/CURI.cxx3
-rw-r--r--unoxml/source/rdf/librdf_repository.cxx3
4 files changed, 4 insertions, 8 deletions
diff --git a/unoxml/source/rdf/CBlankNode.cxx b/unoxml/source/rdf/CBlankNode.cxx
index 67280691cdc0..84b35ce5cc90 100644
--- a/unoxml/source/rdf/CBlankNode.cxx
+++ b/unoxml/source/rdf/CBlankNode.cxx
@@ -125,8 +125,7 @@ OUString SAL_CALL _getImplementationName() {
css::uno::Sequence< OUString > SAL_CALL _getSupportedServiceNames()
{
- css::uno::Sequence< OUString > s(1);
- s[0] = "com.sun.star.rdf.BlankNode";
+ css::uno::Sequence< OUString > s { "com.sun.star.rdf.BlankNode" };
return s;
}
diff --git a/unoxml/source/rdf/CLiteral.cxx b/unoxml/source/rdf/CLiteral.cxx
index 7b2080c36f89..04dd0212322d 100644
--- a/unoxml/source/rdf/CLiteral.cxx
+++ b/unoxml/source/rdf/CLiteral.cxx
@@ -188,8 +188,7 @@ OUString SAL_CALL _getImplementationName() {
css::uno::Sequence< OUString > SAL_CALL _getSupportedServiceNames()
{
- css::uno::Sequence< OUString > s(1);
- s[0] = "com.sun.star.rdf.Literal";
+ css::uno::Sequence< OUString > s { "com.sun.star.rdf.Literal" };
return s;
}
diff --git a/unoxml/source/rdf/CURI.cxx b/unoxml/source/rdf/CURI.cxx
index bcfc5b00af71..c9b7f760450c 100644
--- a/unoxml/source/rdf/CURI.cxx
+++ b/unoxml/source/rdf/CURI.cxx
@@ -815,8 +815,7 @@ OUString SAL_CALL _getImplementationName() {
css::uno::Sequence< OUString > SAL_CALL _getSupportedServiceNames()
{
- css::uno::Sequence< OUString > s(1);
- s[0] = "com.sun.star.rdf.URI";
+ css::uno::Sequence< OUString > s { "com.sun.star.rdf.URI" };
return s;
}
diff --git a/unoxml/source/rdf/librdf_repository.cxx b/unoxml/source/rdf/librdf_repository.cxx
index 95a48afd54cb..2c627134ac30 100644
--- a/unoxml/source/rdf/librdf_repository.cxx
+++ b/unoxml/source/rdf/librdf_repository.cxx
@@ -2440,8 +2440,7 @@ OUString SAL_CALL _getImplementationName() {
uno::Sequence< OUString > SAL_CALL _getSupportedServiceNames()
{
- uno::Sequence< OUString > s(1);
- s[0] = "com.sun.star.rdf.Repository";
+ uno::Sequence< OUString > s { "com.sun.star.rdf.Repository" };
return s;
}