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/partial.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/partial.cxx')
-rw-r--r-- | configmgr/source/partial.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/configmgr/source/partial.cxx b/configmgr/source/partial.cxx index e82cf59b81cc..d2ffa211f5ba 100644 --- a/configmgr/source/partial.cxx +++ b/configmgr/source/partial.cxx @@ -38,15 +38,15 @@ namespace configmgr { namespace { bool parseSegment( - rtl::OUString const & path, sal_Int32 * index, rtl::OUString * segment) + OUString const & path, sal_Int32 * index, OUString * segment) { assert( index != 0 && *index >= 0 && *index <= path.getLength() && segment != 0); if (path[(*index)++] == '/') { - rtl::OUString name; + OUString name; bool setElement; - rtl::OUString templateName; + OUString templateName; *index = Data::parseSegment( path, *index, &name, &setElement, &templateName); if (*index != -1) { @@ -55,15 +55,15 @@ bool parseSegment( } } throw css::uno::RuntimeException( - rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("bad path ")) + path, + OUString("bad path ") + path, css::uno::Reference< css::uno::XInterface >()); } } Partial::Partial( - std::set< rtl::OUString > const & includedPaths, - std::set< rtl::OUString > const & excludedPaths) + std::set< OUString > const & includedPaths, + std::set< OUString > const & excludedPaths) { // The Partial::Node tree built up here encodes the following information: // * Inner node, startInclude: an include starts here that contains excluded @@ -71,12 +71,12 @@ Partial::Partial( // * Inner node, !startInclude: contains in-/excluded sub-trees // * Leaf node, startInclude: an include starts here // * Leaf node, !startInclude: an exclude starts here - for (std::set< rtl::OUString >::const_iterator i(includedPaths.begin()); + for (std::set< OUString >::const_iterator i(includedPaths.begin()); i != includedPaths.end(); ++i) { sal_Int32 n = 0; for (Node * p = &root_;;) { - rtl::OUString seg; + OUString seg; bool end = parseSegment(*i, &n, &seg); p = &p->children[seg]; if (p->startInclude) { @@ -89,12 +89,12 @@ Partial::Partial( } } } - for (std::set< rtl::OUString >::const_iterator i(excludedPaths.begin()); + for (std::set< OUString >::const_iterator i(excludedPaths.begin()); i != excludedPaths.end(); ++i) { sal_Int32 n = 0; for (Node * p = &root_;;) { - rtl::OUString seg; + OUString seg; bool end = parseSegment(*i, &n, &seg); if (end) { p->children[seg] = Node(); |