summaryrefslogtreecommitdiff
path: root/scripting
diff options
context:
space:
mode:
authortymyjan <tymyjan@yahoo.co.uk>2016-04-03 17:42:53 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-04-04 05:49:06 +0000
commitc20cc7e79b3b3d8bcf9136bfdc2bab6dd6a4be06 (patch)
treedaecf1a18f37c46e0cca823f976b419de8e4f2c2 /scripting
parentbfb9612226314cd037c8eda30cc6ebbb46dc8512 (diff)
tdf#97499 Fixed containers parameters clearing #4
Change-Id: I7c96181399f4d7e62d4aceca404b22d68f903513 Reviewed-on: https://gerrit.libreoffice.org/23754 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'scripting')
-rw-r--r--scripting/source/provider/BrowseNodeFactoryImpl.cxx2
-rw-r--r--scripting/source/vbaevents/eventhelper.cxx6
2 files changed, 3 insertions, 5 deletions
diff --git a/scripting/source/provider/BrowseNodeFactoryImpl.cxx b/scripting/source/provider/BrowseNodeFactoryImpl.cxx
index 656690b2254b..e0833497d8b1 100644
--- a/scripting/source/provider/BrowseNodeFactoryImpl.cxx
+++ b/scripting/source/provider/BrowseNodeFactoryImpl.cxx
@@ -157,7 +157,7 @@ public:
//typedef std::map< OUString, Reference< browse::XBrowseNode > >
typedef std::unordered_map< OUString, Reference< browse::XBrowseNode >,
- OUStringHash, ::std::equal_to< OUString > >
+ OUStringHash >
BrowseNodeAggregatorHash;
typedef std::vector< OUString > vString;
diff --git a/scripting/source/vbaevents/eventhelper.cxx b/scripting/source/vbaevents/eventhelper.cxx
index 10e8c24dd24a..d43f930b0166 100644
--- a/scripting/source/vbaevents/eventhelper.cxx
+++ b/scripting/source/vbaevents/eventhelper.cxx
@@ -190,8 +190,7 @@ struct TranslateInfo
typedef std::unordered_map< OUString,
std::list< TranslateInfo >,
-OUStringHash,
-::std::equal_to< OUString > > EventInfoHash;
+OUStringHash > EventInfoHash;
struct TranslatePropMap
@@ -487,8 +486,7 @@ public:
{ return !m_hEvents.empty(); }
private:
-typedef std::unordered_map< OUString, Any, OUStringHash,
-::std::equal_to< OUString > > EventSupplierHash;
+typedef std::unordered_map< OUString, Any, OUStringHash > EventSupplierHash;
EventSupplierHash m_hEvents;
};