diff options
Diffstat (limited to 'sd/source/ui')
6 files changed, 7 insertions, 12 deletions
diff --git a/sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.hxx b/sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.hxx index ac4807a59abb..45b7d05fe5c2 100644 --- a/sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.hxx +++ b/sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.hxx @@ -117,8 +117,7 @@ private: typedef std::vector<ListenerDescriptor> ListenerList; typedef std::unordered_map <OUString, - ListenerList, - OUStringHash> ListenerMap; + ListenerList> ListenerMap; ListenerMap maListenerMap; /** Broadcast the given event to all listeners in the given list. diff --git a/sd/source/ui/framework/configuration/ResourceFactoryManager.hxx b/sd/source/ui/framework/configuration/ResourceFactoryManager.hxx index ed0370107d98..34ee07446d9e 100644 --- a/sd/source/ui/framework/configuration/ResourceFactoryManager.hxx +++ b/sd/source/ui/framework/configuration/ResourceFactoryManager.hxx @@ -89,8 +89,7 @@ private: ::osl::Mutex maMutex; typedef std::unordered_map< OUString, - css::uno::Reference<css::drawing::framework::XResourceFactory>, - OUStringHash> FactoryMap; + css::uno::Reference<css::drawing::framework::XResourceFactory> > FactoryMap; FactoryMap maFactoryMap; typedef ::std::vector< diff --git a/sd/source/ui/framework/module/ModuleController.cxx b/sd/source/ui/framework/module/ModuleController.cxx index 564354cbc34d..c64b5a704bba 100644 --- a/sd/source/ui/framework/module/ModuleController.cxx +++ b/sd/source/ui/framework/module/ModuleController.cxx @@ -40,8 +40,7 @@ static const sal_uInt32 snStartupPropertyCount (1); class ModuleController::ResourceToFactoryMap : public std::unordered_map< OUString, - OUString, - OUStringHash> + OUString> { public: ResourceToFactoryMap() {} @@ -50,8 +49,7 @@ public: class ModuleController::LoadedFactoryContainer : public std::unordered_map< OUString, - WeakReference<XInterface>, - OUStringHash> + WeakReference<XInterface>> { public: LoadedFactoryContainer() {} diff --git a/sd/source/ui/framework/tools/FrameworkHelper.cxx b/sd/source/ui/framework/tools/FrameworkHelper.cxx index ed25bcc026f5..ed1e2aa93fc7 100644 --- a/sd/source/ui/framework/tools/FrameworkHelper.cxx +++ b/sd/source/ui/framework/tools/FrameworkHelper.cxx @@ -272,8 +272,7 @@ namespace class FrameworkHelper::ViewURLMap : public std::unordered_map< OUString, - ViewShell::ShellType, - OUStringHash> + ViewShell::ShellType> { public: ViewURLMap() {} diff --git a/sd/source/ui/tools/IconCache.cxx b/sd/source/ui/tools/IconCache.cxx index 6e05720b6b4c..703dc28cd6f9 100644 --- a/sd/source/ui/tools/IconCache.cxx +++ b/sd/source/ui/tools/IconCache.cxx @@ -40,7 +40,7 @@ private: */ static IconCache* s_pIconCache; - typedef std::unordered_map<OUString, Image, OUStringHash> ImageContainer; + typedef std::unordered_map<OUString, Image> ImageContainer; ImageContainer maContainer; Image GetIcon(const OUString& rResourceId); diff --git a/sd/source/ui/unoidl/facreg.cxx b/sd/source/ui/unoidl/facreg.cxx index 585e37f5e23f..39889015d995 100644 --- a/sd/source/ui/unoidl/facreg.cxx +++ b/sd/source/ui/unoidl/facreg.cxx @@ -40,7 +40,7 @@ enum FactoryId SdDrawingDocumentFactoryId, SdPresentationDocumentFactoryId, }; -typedef std::unordered_map<OUString, FactoryId, OUStringHash> FactoryMap; +typedef std::unordered_map<OUString, FactoryId> FactoryMap; namespace { static std::shared_ptr<FactoryMap> spFactoryMap; |