From a5be07d6b627a18f104e2feed063ff9020e8c610 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 18 Dec 2017 14:24:50 +0200 Subject: inline use-once typedefs Change-Id: I5c3ffc03c26b3428f1f336e6ecba7838a1cf1157 Reviewed-on: https://gerrit.libreoffice.org/46764 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sal/osl/w32/procimpl.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sal/osl') diff --git a/sal/osl/w32/procimpl.cxx b/sal/osl/w32/procimpl.cxx index dcaca741ae1f..d537cd9c8d05 100644 --- a/sal/osl/w32/procimpl.cxx +++ b/sal/osl/w32/procimpl.cxx @@ -45,7 +45,6 @@ namespace /* private */ typedef std::vector string_container_t; typedef string_container_t::iterator string_container_iterator_t; typedef string_container_t::const_iterator string_container_const_iterator_t; - typedef std::pair iterator_pair_t; typedef std::vector environment_container_t; /* Function object that compares two strings that are @@ -144,7 +143,7 @@ namespace /* private */ if (env_var.getLength() == 0) return false; - iterator_pair_t iter_pair = std::equal_range( + auto iter_pair = std::equal_range( merged_env->begin(), merged_env->end(), env_var, -- cgit