summaryrefslogtreecommitdiff
path: root/scripting/source
diff options
context:
space:
mode:
authortymyjan <tymyjan@yahoo.co.uk>2016-04-03 15:53:23 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-04-04 05:46:34 +0000
commitbfb9612226314cd037c8eda30cc6ebbb46dc8512 (patch)
tree9cb3d9d1bf9ec134adb0ec9d7e4eae67979f8347 /scripting/source
parent362ab03eb276fd7cf73a6882faa4e4f14fcab2a4 (diff)
tdf#97499 Fixed containers parameters clearing #3
Change-Id: I1c105de7e1df251533179fba77e3797ef1c4e2d4 Reviewed-on: https://gerrit.libreoffice.org/23752 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'scripting/source')
-rw-r--r--scripting/source/dlgprov/dlgevtatt.hxx3
-rw-r--r--scripting/source/provider/ActiveMSPList.hxx2
-rw-r--r--scripting/source/provider/ProviderCache.hxx3
3 files changed, 3 insertions, 5 deletions
diff --git a/scripting/source/dlgprov/dlgevtatt.hxx b/scripting/source/dlgprov/dlgevtatt.hxx
index 1bd7f6b2bbff..0e2660d8d38e 100644
--- a/scripting/source/dlgprov/dlgevtatt.hxx
+++ b/scripting/source/dlgprov/dlgevtatt.hxx
@@ -39,8 +39,7 @@ namespace dlgprov
// class DialogEventsAttacherImpl
typedef std::unordered_map< OUString,
css::uno::Reference< css::script::XScriptListener >,
- OUStringHash,
- std::equal_to< OUString > > ListenerHash;
+ OUStringHash > ListenerHash;
typedef ::cppu::WeakImplHelper<
css::script::XScriptEventsAttacher > DialogEventsAttacherImpl_BASE;
diff --git a/scripting/source/provider/ActiveMSPList.hxx b/scripting/source/provider/ActiveMSPList.hxx
index 24036009ef8b..6590d80ab36c 100644
--- a/scripting/source/provider/ActiveMSPList.hxx
+++ b/scripting/source/provider/ActiveMSPList.hxx
@@ -47,7 +47,7 @@ typedef std::map < css::uno::Reference< css::uno::XInterface >
typedef std::unordered_map< OUString,
css::uno::Reference< css::script::provider::XScriptProvider >,
- OUStringHash, std::equal_to< OUString > > Msp_hash;
+ OUStringHash > Msp_hash;
class NonDocMSPCreator;
diff --git a/scripting/source/provider/ProviderCache.hxx b/scripting/source/provider/ProviderCache.hxx
index 3a07daa83b02..af244796dc40 100644
--- a/scripting/source/provider/ProviderCache.hxx
+++ b/scripting/source/provider/ProviderCache.hxx
@@ -45,8 +45,7 @@ struct ProviderDetails
css::uno::Reference< css::lang::XSingleComponentFactory > factory;
css::uno::Reference< css::script::provider::XScriptProvider > provider;
};
-typedef std::unordered_map < OUString, ProviderDetails , OUStringHash,
- ::std::equal_to< OUString > > ProviderDetails_hash;
+typedef std::unordered_map < OUString, ProviderDetails , OUStringHash > ProviderDetails_hash;
class ProviderCache