diff options
author | Radu Ioan <ioan.radu.g@gmail.com> | 2012-12-10 23:06:10 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-12-11 12:08:38 +0000 |
commit | 3e64874e7cd234ff563ac11450cfb2b6e2db4bf6 (patch) | |
tree | 5fd298e750ac28fabc3a7179d7af492c13113e01 /configmgr/source/childaccess.cxx | |
parent | 90874ab3c75fd161a672a24538cbce909f284e97 (diff) |
rtl:: prefix removal from configmgr
- removed rtl:: prefix
- removed RTL_CONSTASCII_USTRINGPARAM
- corrected some misspells
Change-Id: I88bb0beec718a7fe38c61220aa61401419f23b42
Reviewed-on: https://gerrit.libreoffice.org/1291
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
Diffstat (limited to 'configmgr/source/childaccess.cxx')
-rw-r--r-- | configmgr/source/childaccess.cxx | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/configmgr/source/childaccess.cxx b/configmgr/source/childaccess.cxx index 6b2cd4186e33..587f59bff415 100644 --- a/configmgr/source/childaccess.cxx +++ b/configmgr/source/childaccess.cxx @@ -73,7 +73,7 @@ css::uno::Sequence< sal_Int8 > ChildAccess::getTunnelId() ChildAccess::ChildAccess( Components & components, rtl::Reference< RootAccess > const & root, - rtl::Reference< Access > const & parent, rtl::OUString const & name, + rtl::Reference< Access > const & parent, OUString const & name, rtl::Reference< Node > const & node): Access(components), root_(root), parent_(parent), name_(name), node_(node), inTransaction_(false) @@ -108,8 +108,8 @@ Path ChildAccess::getRelativePath() { return path; } -rtl::OUString ChildAccess::getRelativePathRepresentation() { - rtl::OUStringBuffer path; +OUString ChildAccess::getRelativePathRepresentation() { + OUStringBuffer path; rtl::Reference< Access > parent(getParentAccess()); if (parent.is()) { path.append(parent->getRelativePathRepresentation()); @@ -130,7 +130,7 @@ bool ChildAccess::isFinalized() { (parent_.is() && parent_->isFinalized()); } -rtl::OUString ChildAccess::getNameInternal() { +OUString ChildAccess::getNameInternal() { return name_; } @@ -166,7 +166,7 @@ void ChildAccess::setParent(css::uno::Reference< css::uno::XInterface > const &) osl::MutexGuard g(*lock_); checkLocalizedPropertyAccess(); throw css::lang::NoSupportException( - rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("setParent")), + OUString("setParent"), static_cast< cppu::OWeakObject * >(this)); } @@ -183,7 +183,7 @@ sal_Int64 ChildAccess::getSomething( void ChildAccess::bind( rtl::Reference< RootAccess > const & root, - rtl::Reference< Access > const & parent, rtl::OUString const & name) + rtl::Reference< Access > const & parent, OUString const & name) throw () { assert(!parent_.is() && root.is() && parent.is() && !name.isEmpty()); @@ -223,7 +223,7 @@ void ChildAccess::setProperty( break; case Node::KIND_LOCALIZED_PROPERTY: { - rtl::OUString locale(getRootAccess()->getLocale()); + OUString locale(getRootAccess()->getLocale()); if (!Components::allLocales(locale)) { rtl::Reference< ChildAccess > child(getChild(locale)); if (child.is()) { @@ -321,17 +321,13 @@ void ChildAccess::addTypes(std::vector< css::uno::Type > * types) const { } void ChildAccess::addSupportedServiceNames( - std::vector< rtl::OUString > * services) + std::vector< OUString > * services) { assert(services != 0); services->push_back( getParentNode()->kind() == Node::KIND_GROUP - ? rtl::OUString( - RTL_CONSTASCII_USTRINGPARAM( - "com.sun.star.configuration.GroupElement")) - : rtl::OUString( - RTL_CONSTASCII_USTRINGPARAM( - "com.sun.star.configuration.SetElement"))); + ? OUString("com.sun.star.configuration.GroupElement") + : OUString("com.sun.star.configuration.SetElement")); } css::uno::Any ChildAccess::queryInterface(css::uno::Type const & aType) |