summaryrefslogtreecommitdiff
path: root/sal/qa/osl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-03 15:12:09 +0200
committerNoel Grandin <noel@peralex.com>2015-08-04 08:55:56 +0200
commitc5b995bb09487e2b7626a5920506b07dff390203 (patch)
treedf41f558f729b513cdef5292ae69d7d395f5921f /sal/qa/osl
parent368a3e45a3f126d34f794a9118fcef0e3270cd78 (diff)
sal,rsc,oox: inline some use-once typedefs
Change-Id: I91bebe06c5c5f3ebe5fbeec83dcf3f5bdf563201
Diffstat (limited to 'sal/qa/osl')
-rw-r--r--sal/qa/osl/process/osl_process.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/sal/qa/osl/process/osl_process.cxx b/sal/qa/osl/process/osl_process.cxx
index 39e254c8dd9e..ea430f9f920b 100644
--- a/sal/qa/osl/process/osl_process.cxx
+++ b/sal/qa/osl/process/osl_process.cxx
@@ -94,8 +94,6 @@ inline ::rtl::OUString getExecutablePath()
//rtl::OUString CWD = getExecutablePath();
typedef std::vector<OString> string_container_t;
-typedef string_container_t::const_iterator string_container_const_iter_t;
-typedef string_container_t::iterator string_container_iter_t;
class exclude : public std::unary_function<OString, bool>
{
@@ -103,8 +101,8 @@ public:
exclude(const string_container_t& exclude_list)
{
- string_container_const_iter_t iter = exclude_list.begin();
- string_container_const_iter_t iter_end = exclude_list.end();
+ string_container_t::const_iterator iter = exclude_list.begin();
+ string_container_t::const_iterator iter_end = exclude_list.end();
for (/**/; iter != iter_end; ++iter)
exclude_list_.push_back(env_var_name(*iter));
}
@@ -307,7 +305,7 @@ public:
//are different to the parent environment (they come first)
//and the variables that should be equal between parent
//and child environment
- string_container_iter_t iter_logical_end =
+ string_container_t::iterator iter_logical_end =
std::stable_partition(child_env.begin(), child_env.end(), exclude(different_env_vars));
string_container_t different_child_env_vars(child_env.begin(), iter_logical_end);