summaryrefslogtreecommitdiff
path: root/configmgr/source/readwriteaccess.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'configmgr/source/readwriteaccess.cxx')
-rw-r--r--configmgr/source/readwriteaccess.cxx26
1 files changed, 11 insertions, 15 deletions
diff --git a/configmgr/source/readwriteaccess.cxx b/configmgr/source/readwriteaccess.cxx
index b302ad8f4ded..7cfae0f8e206 100644
--- a/configmgr/source/readwriteaccess.cxx
+++ b/configmgr/source/readwriteaccess.cxx
@@ -76,15 +76,15 @@ public:
private:
virtual ~Service() {}
- virtual rtl::OUString SAL_CALL getImplementationName()
+ virtual OUString SAL_CALL getImplementationName()
throw (css::uno::RuntimeException)
{ return read_write_access::getImplementationName(); }
- virtual sal_Bool SAL_CALL supportsService(rtl::OUString const &)
+ virtual sal_Bool SAL_CALL supportsService(OUString const &)
throw (css::uno::RuntimeException)
{ return false; }
- virtual css::uno::Sequence< rtl::OUString > SAL_CALL
+ virtual css::uno::Sequence< OUString > SAL_CALL
getSupportedServiceNames() throw (css::uno::RuntimeException)
{ return read_write_access::getSupportedServiceNames(); }
@@ -93,17 +93,17 @@ private:
throw (css::uno::Exception, css::uno::RuntimeException);
virtual css::uno::Any SAL_CALL getByHierarchicalName(
- rtl::OUString const & aName)
+ OUString const & aName)
throw (
css::container::NoSuchElementException, css::uno::RuntimeException)
{ return getRoot()->getByHierarchicalName(aName); }
- virtual sal_Bool SAL_CALL hasByHierarchicalName(rtl::OUString const & aName)
+ virtual sal_Bool SAL_CALL hasByHierarchicalName(OUString const & aName)
throw (css::uno::RuntimeException)
{ return getRoot()->hasByHierarchicalName(aName); }
virtual void SAL_CALL replaceByHierarchicalName(
- rtl::OUString const & aName, css::uno::Any const & aElement)
+ OUString const & aName, css::uno::Any const & aElement)
throw (
css::lang::IllegalArgumentException,
css::container::NoSuchElementException,
@@ -167,17 +167,13 @@ css::uno::Reference< css::uno::XInterface > create(
return static_cast< cppu::OWeakObject * >(new Service(context));
}
-rtl::OUString getImplementationName() {
- return rtl::OUString(
- RTL_CONSTASCII_USTRINGPARAM(
- "com.sun.star.comp.configuration.ReadWriteAccess"));
+OUString getImplementationName() {
+ return OUString("com.sun.star.comp.configuration.ReadWriteAccess");
}
-css::uno::Sequence< rtl::OUString > getSupportedServiceNames() {
- rtl::OUString name(
- RTL_CONSTASCII_USTRINGPARAM(
- "com.sun.star.configuration.ReadWriteAccess"));
- return css::uno::Sequence< rtl::OUString >(&name, 1);
+css::uno::Sequence< OUString > getSupportedServiceNames() {
+ OUString name("com.sun.star.configuration.ReadWriteAccess");
+ return css::uno::Sequence< OUString >(&name, 1);
}
} }