summaryrefslogtreecommitdiff
path: root/configmgr/source/access.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'configmgr/source/access.cxx')
-rw-r--r--configmgr/source/access.cxx11
1 files changed, 5 insertions, 6 deletions
diff --git a/configmgr/source/access.cxx b/configmgr/source/access.cxx
index 97543bbda69d..3506beb7aeb4 100644
--- a/configmgr/source/access.cxx
+++ b/configmgr/source/access.cxx
@@ -96,7 +96,6 @@
#include "modifications.hxx"
#include "node.hxx"
#include "nodemap.hxx"
-#include "path.hxx"
#include "propertynode.hxx"
#include "rootaccess.hxx"
#include "setnode.hxx"
@@ -253,7 +252,7 @@ css::uno::Sequence< OUString > Access::getSupportedServiceNames()
assert(thisIs(IS_ANY));
osl::MutexGuard g(*lock_);
checkLocalizedPropertyAccess();
- std::vector< OUString > services;
+ std::vector<OUString> services;
services.push_back("com.sun.star.configuration.ConfigurationAccess");
if (getRootAccess()->isUpdate()) {
services.push_back(
@@ -424,7 +423,7 @@ css::uno::Sequence< OUString > Access::getElementNames()
osl::MutexGuard g(*lock_);
checkLocalizedPropertyAccess();
std::vector< rtl::Reference< ChildAccess > > children(getAllChildren());
- std::vector< OUString > names;
+ std::vector<OUString> names;
for (std::vector< rtl::Reference< ChildAccess > >::iterator i(
children.begin());
i != children.end(); ++i)
@@ -1673,7 +1672,7 @@ void Access::commitChildChanges(
}
}
if (childValid && i->second.directlyModified) {
- Path path(getAbsolutePath());
+ std::vector<OUString> path(getAbsolutePath());
path.push_back(i->first);
components_.addModification(path);
globalModifications->add(path);
@@ -2100,8 +2099,8 @@ rtl::Reference< ChildAccess > Access::getSubChild(OUString const & path) {
if (!getRootAccess().is()) {
return rtl::Reference< ChildAccess >();
}
- Path abs(getAbsolutePath());
- for (Path::iterator j(abs.begin()); j != abs.end(); ++j) {
+ std::vector<OUString> abs(getAbsolutePath());
+ for (auto j(abs.begin()); j != abs.end(); ++j) {
OUString name1;
bool setElement1;
OUString templateName1;