summaryrefslogtreecommitdiffstats
path: root/cppu
diff options
context:
space:
mode:
authorArkadiy Illarionov <qarkai@gmail.com>2018-06-28 23:32:05 +0300
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-06-29 08:46:34 +0200
commit5437eb15ad3975b11c6eefe77dfd6687e0e73f81 (patch)
tree3d2e1996415ed9e27a50366b6ef5f8e5767b8e05 /cppu
parentloplugin:useuniqueptr in SwOLEObj (diff)
downloadcore-5437eb15ad3975b11c6eefe77dfd6687e0e73f81.tar.gz
core-5437eb15ad3975b11c6eefe77dfd6687e0e73f81.zip
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 <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cppu')
-rw-r--r--cppu/source/uno/lbmap.cxx5
1 files changed, 2 insertions, 3 deletions
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<OUString> 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());
}