diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-12-06 13:34:16 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-12-06 14:28:36 +0100 |
commit | e9c62a2d9cdca2c42badb468712d1c5be8326444 (patch) | |
tree | ac20b1cdd066d27ce50d13b6e4baf83581f52dc9 /sd | |
parent | 57b15f2dcd2963808b8af3f0665450ef81bb3eb8 (diff) |
Get rid of unnecessary comphelper::UStringEqual
Change-Id: Ia8718e49f21ccec239b2769eafa6bef90e0e9e40
Diffstat (limited to 'sd')
-rw-r--r-- | sd/inc/CustomAnimationPreset.hxx | 7 | ||||
-rw-r--r-- | sd/inc/TransitionPreset.hxx | 4 | ||||
-rw-r--r-- | sd/source/filter/eppt/epptooxml.hxx | 3 | ||||
-rw-r--r-- | sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.hxx | 4 | ||||
-rw-r--r-- | sd/source/ui/framework/configuration/ResourceFactoryManager.hxx | 4 | ||||
-rw-r--r-- | sd/source/ui/framework/module/ModuleController.cxx | 7 | ||||
-rw-r--r-- | sd/source/ui/framework/tools/FrameworkHelper.cxx | 4 | ||||
-rw-r--r-- | sd/source/ui/unoidl/facreg.cxx | 3 |
8 files changed, 11 insertions, 25 deletions
diff --git a/sd/inc/CustomAnimationPreset.hxx b/sd/inc/CustomAnimationPreset.hxx index 4617e13e3582..1d8b98df623d 100644 --- a/sd/inc/CustomAnimationPreset.hxx +++ b/sd/inc/CustomAnimationPreset.hxx @@ -24,15 +24,14 @@ #include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/animations/AnimationNodeType.hpp> -#include <comphelper/stl_types.hxx> #include <CustomAnimationEffect.hxx> #include <boost/unordered_map.hpp> namespace sd { -typedef boost::unordered_map< OUString, CustomAnimationEffectPtr, OUStringHash, comphelper::UStringEqual > EffectsSubTypeMap; -typedef boost::unordered_map< OUString, OUString, OUStringHash, comphelper::UStringEqual > UStringMap; +typedef boost::unordered_map< OUString, CustomAnimationEffectPtr, OUStringHash > EffectsSubTypeMap; +typedef boost::unordered_map< OUString, OUString, OUStringHash > UStringMap; typedef std::vector< OUString > UStringList; class CustomAnimationPreset @@ -71,7 +70,7 @@ private: }; typedef boost::shared_ptr< CustomAnimationPreset > CustomAnimationPresetPtr; -typedef boost::unordered_map<OUString, CustomAnimationPresetPtr, OUStringHash, comphelper::UStringEqual> EffectDescriptorMap; +typedef boost::unordered_map<OUString, CustomAnimationPresetPtr, OUStringHash> EffectDescriptorMap; typedef std::vector< CustomAnimationPresetPtr > EffectDescriptorList; struct PresetCategory diff --git a/sd/inc/TransitionPreset.hxx b/sd/inc/TransitionPreset.hxx index 6769dc9b5486..a09504088cd3 100644 --- a/sd/inc/TransitionPreset.hxx +++ b/sd/inc/TransitionPreset.hxx @@ -23,8 +23,6 @@ #include <boost/shared_ptr.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp> -#include <comphelper/stl_types.hxx> - #include <list> #include <boost/unordered_map.hpp> @@ -40,7 +38,7 @@ namespace sd { class TransitionPreset; typedef boost::shared_ptr< TransitionPreset > TransitionPresetPtr; typedef std::list< TransitionPresetPtr > TransitionPresetList; -typedef boost::unordered_map< OUString, OUString, OUStringHash, comphelper::UStringEqual > UStringMap; +typedef boost::unordered_map< OUString, OUString, OUStringHash > UStringMap; class TransitionPreset { diff --git a/sd/source/filter/eppt/epptooxml.hxx b/sd/source/filter/eppt/epptooxml.hxx index 3392bc960578..4efbd3b47f0e 100644 --- a/sd/source/filter/eppt/epptooxml.hxx +++ b/sd/source/filter/eppt/epptooxml.hxx @@ -24,7 +24,6 @@ #include <oox/helper/zipstorage.hxx> #include <oox/vml/vmldrawing.hxx> #include <oox/export/shapes.hxx> -#include <comphelper/stl_types.hxx> #include "epptbase.hxx" namespace com { namespace sun { namespace star { @@ -156,7 +155,7 @@ private: sal_Int32 nId; sal_Int32 nLastIndex; }; - typedef ::boost::unordered_map< OUString, struct AuthorComments, OUStringHash, comphelper::UStringEqual > AuthorsMap; + typedef ::boost::unordered_map< OUString, struct AuthorComments, OUStringHash > AuthorsMap; AuthorsMap maAuthors; void WriteAuthors(); diff --git a/sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.hxx b/sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.hxx index 49bdfefec1f4..ec2886e8eee7 100644 --- a/sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.hxx +++ b/sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.hxx @@ -24,7 +24,6 @@ #include <com/sun/star/drawing/framework/XConfigurationController.hpp> #include <com/sun/star/drawing/framework/ConfigurationChangeEvent.hpp> -#include <comphelper/stl_types.hxx> #include <vector> #include <boost/unordered_map.hpp> @@ -119,8 +118,7 @@ private: typedef ::boost::unordered_map <OUString, ListenerList, - OUStringHash, - ::comphelper::UStringEqual> ListenerMap; + OUStringHash> 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 2f9f8fa75ba2..2c22df2a67e5 100644 --- a/sd/source/ui/framework/configuration/ResourceFactoryManager.hxx +++ b/sd/source/ui/framework/configuration/ResourceFactoryManager.hxx @@ -25,7 +25,6 @@ #include <com/sun/star/drawing/framework/XResourceFactoryManager.hpp> #include <com/sun/star/util/XURLTransformer.hpp> #include <osl/mutex.hxx> -#include <comphelper/stl_types.hxx> #include <boost/unordered_map.hpp> namespace sd { namespace framework { @@ -86,8 +85,7 @@ private: typedef ::boost::unordered_map< OUString, css::uno::Reference<css::drawing::framework::XResourceFactory>, - OUStringHash, - ::comphelper::UStringEqual> FactoryMap; + OUStringHash> 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 1406d6e14d5a..983c93d0dd1e 100644 --- a/sd/source/ui/framework/module/ModuleController.cxx +++ b/sd/source/ui/framework/module/ModuleController.cxx @@ -22,7 +22,6 @@ #include "tools/ConfigurationAccess.hxx" #include <comphelper/processfactory.hxx> -#include <comphelper/stl_types.hxx> #include <boost/bind.hpp> #include <boost/unordered_map.hpp> @@ -45,8 +44,7 @@ class ModuleController::ResourceToFactoryMap : public ::boost::unordered_map< OUString, OUString, - OUStringHash, - ::comphelper::UStringEqual> + OUStringHash> { public: ResourceToFactoryMap (void) {} @@ -57,8 +55,7 @@ class ModuleController::LoadedFactoryContainer : public ::boost::unordered_map< OUString, WeakReference<XInterface>, - OUStringHash, - ::comphelper::UStringEqual> + OUStringHash> { public: LoadedFactoryContainer (void) {} diff --git a/sd/source/ui/framework/tools/FrameworkHelper.cxx b/sd/source/ui/framework/tools/FrameworkHelper.cxx index f2680b2739e7..5596e49bda08 100644 --- a/sd/source/ui/framework/tools/FrameworkHelper.cxx +++ b/sd/source/ui/framework/tools/FrameworkHelper.cxx @@ -35,7 +35,6 @@ #include <cppuhelper/compbase1.hxx> #include <svl/lstner.hxx> -#include <comphelper/stl_types.hxx> #include <sfx2/request.hxx> #include <sfx2/dispatch.hxx> @@ -291,8 +290,7 @@ class FrameworkHelper::ViewURLMap : public ::boost::unordered_map< OUString, ViewShell::ShellType, - OUStringHash, - ::comphelper::UStringEqual> + OUStringHash> { public: ViewURLMap (void) {} diff --git a/sd/source/ui/unoidl/facreg.cxx b/sd/source/ui/unoidl/facreg.cxx index df50159dc2e7..9b533eafb6cf 100644 --- a/sd/source/ui/unoidl/facreg.cxx +++ b/sd/source/ui/unoidl/facreg.cxx @@ -29,7 +29,6 @@ #include <string.h> -#include <comphelper/stl_types.hxx> #include <boost/unordered_map.hpp> #include <boost/shared_ptr.hpp> @@ -232,7 +231,7 @@ enum FactoryId SlideLayoutControllerFactoryId, InsertSlideControllerFactoryId, }; -typedef ::boost::unordered_map<OUString, FactoryId, OUStringHash, comphelper::UStringEqual> FactoryMap; +typedef ::boost::unordered_map<OUString, FactoryId, OUStringHash> FactoryMap; namespace { |