From bfb9612226314cd037c8eda30cc6ebbb46dc8512 Mon Sep 17 00:00:00 2001 From: tymyjan Date: Sun, 3 Apr 2016 15:53:23 +0200 Subject: tdf#97499 Fixed containers parameters clearing #3 Change-Id: I1c105de7e1df251533179fba77e3797ef1c4e2d4 Reviewed-on: https://gerrit.libreoffice.org/23752 Tested-by: Jenkins Reviewed-by: Noel Grandin --- scripting/source/dlgprov/dlgevtatt.hxx | 3 +-- scripting/source/provider/ActiveMSPList.hxx | 2 +- scripting/source/provider/ProviderCache.hxx | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) (limited to 'scripting') 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 -- cgit