diff options
Diffstat (limited to 'scripting')
-rw-r--r-- | scripting/source/dlgprov/dlgevtatt.hxx | 3 | ||||
-rw-r--r-- | scripting/source/provider/ActiveMSPList.hxx | 3 | ||||
-rw-r--r-- | scripting/source/provider/BrowseNodeFactoryImpl.cxx | 5 | ||||
-rw-r--r-- | scripting/source/provider/ProviderCache.hxx | 2 | ||||
-rw-r--r-- | scripting/source/stringresource/stringresource.hxx | 6 | ||||
-rw-r--r-- | scripting/source/vbaevents/eventhelper.cxx | 5 |
6 files changed, 8 insertions, 16 deletions
diff --git a/scripting/source/dlgprov/dlgevtatt.hxx b/scripting/source/dlgprov/dlgevtatt.hxx index 814d71dbde7b..b4df1c516684 100644 --- a/scripting/source/dlgprov/dlgevtatt.hxx +++ b/scripting/source/dlgprov/dlgevtatt.hxx @@ -38,8 +38,7 @@ namespace dlgprov { // class DialogEventsAttacherImpl typedef std::unordered_map< OUString, - css::uno::Reference< css::script::XScriptListener >, - OUStringHash > ListenerHash; + css::uno::Reference< css::script::XScriptListener > > ListenerHash; typedef ::cppu::WeakImplHelper< css::script::XScriptEventsAttacher > DialogEventsAttacherImpl_BASE; diff --git a/scripting/source/provider/ActiveMSPList.hxx b/scripting/source/provider/ActiveMSPList.hxx index 1adbb7fe0d77..7539b3ba4f36 100644 --- a/scripting/source/provider/ActiveMSPList.hxx +++ b/scripting/source/provider/ActiveMSPList.hxx @@ -45,8 +45,7 @@ typedef std::map < css::uno::Reference< css::uno::XInterface > > ScriptComponent_map; typedef std::unordered_map< OUString, - css::uno::Reference< css::script::provider::XScriptProvider >, - OUStringHash > Msp_hash; + css::uno::Reference< css::script::provider::XScriptProvider > > Msp_hash; class NonDocMSPCreator; diff --git a/scripting/source/provider/BrowseNodeFactoryImpl.cxx b/scripting/source/provider/BrowseNodeFactoryImpl.cxx index aafa2f1d5e03..49c51dba6c07 100644 --- a/scripting/source/provider/BrowseNodeFactoryImpl.cxx +++ b/scripting/source/provider/BrowseNodeFactoryImpl.cxx @@ -150,10 +150,7 @@ public: } }; -//typedef std::map< OUString, Reference< browse::XBrowseNode > > -typedef std::unordered_map< OUString, Reference< browse::XBrowseNode >, - OUStringHash > - BrowseNodeAggregatorHash; +typedef std::unordered_map< OUString, Reference< browse::XBrowseNode > > BrowseNodeAggregatorHash; typedef std::vector< OUString > vString; struct alphaSort diff --git a/scripting/source/provider/ProviderCache.hxx b/scripting/source/provider/ProviderCache.hxx index 75e062073c9f..d6a950beee40 100644 --- a/scripting/source/provider/ProviderCache.hxx +++ b/scripting/source/provider/ProviderCache.hxx @@ -44,7 +44,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 > ProviderDetails_hash; +typedef std::unordered_map < OUString, ProviderDetails > ProviderDetails_hash; class ProviderCache diff --git a/scripting/source/stringresource/stringresource.hxx b/scripting/source/stringresource/stringresource.hxx index 952dfd4b5d70..860c455e73d4 100644 --- a/scripting/source/stringresource/stringresource.hxx +++ b/scripting/source/stringresource/stringresource.hxx @@ -53,16 +53,14 @@ namespace stringresource typedef std::unordered_map < OUString, - OUString, - OUStringHash + OUString > IdToStringMap; typedef std::unordered_map < OUString, - sal_Int32, - OUStringHash + sal_Int32 > IdToIndexMap; diff --git a/scripting/source/vbaevents/eventhelper.cxx b/scripting/source/vbaevents/eventhelper.cxx index 9690771027b1..5d47ea381444 100644 --- a/scripting/source/vbaevents/eventhelper.cxx +++ b/scripting/source/vbaevents/eventhelper.cxx @@ -174,8 +174,7 @@ struct TranslateInfo typedef std::unordered_map< OUString, - std::list< TranslateInfo >, - OUStringHash > EventInfoHash; + std::list< TranslateInfo > > EventInfoHash; struct TranslatePropMap @@ -470,7 +469,7 @@ public: { return !m_hEvents.empty(); } private: -typedef std::unordered_map< OUString, Any, OUStringHash > EventSupplierHash; +typedef std::unordered_map< OUString, Any > EventSupplierHash; EventSupplierHash m_hEvents; }; |