From 5437eb15ad3975b11c6eefe77dfd6687e0e73f81 Mon Sep 17 00:00:00 2001 From: Arkadiy Illarionov Date: Thu, 28 Jun 2018 23:32:05 +0300 Subject: tdf#96099 Remove trivial std::map typedefs in [cd]* Change-Id: I043d265d3d73a3e16f05d5ca7e29a09341651d82 Reviewed-on: https://gerrit.libreoffice.org/56639 Tested-by: Jenkins Reviewed-by: Noel Grandin --- cppu/source/uno/lbmap.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'cppu') diff --git a/cppu/source/uno/lbmap.cxx b/cppu/source/uno/lbmap.cxx index ca6e15ac6d43..e1c606bf5c67 100644 --- a/cppu/source/uno/lbmap.cxx +++ b/cppu/source/uno/lbmap.cxx @@ -141,7 +141,6 @@ typedef std::unordered_map< uno_Mapping *, MappingEntry *, FctPtrHash > t_Mapping2Entry; typedef set< uno_getMappingFunc > t_CallbackSet; -typedef set< OUString > t_OUStringSet; struct MappingsData @@ -154,7 +153,7 @@ struct MappingsData t_CallbackSet aCallbacks; Mutex aNegativeLibsMutex; - t_OUStringSet aNegativeLibs; + set aNegativeLibs; }; static MappingsData & getMappingsData() @@ -351,7 +350,7 @@ static inline bool loadModule(osl::Module & rModule, const OUString & rBridgeNam { MappingsData & rData = getMappingsData(); MutexGuard aGuard( rData.aNegativeLibsMutex ); - const t_OUStringSet::const_iterator iFind( rData.aNegativeLibs.find( rBridgeName ) ); + const auto iFind( rData.aNegativeLibs.find( rBridgeName ) ); bNeg = (iFind != rData.aNegativeLibs.end()); } -- cgit