diff options
author | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-08-04 20:52:40 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-08-04 21:43:39 -0400 |
commit | fd073bb6485667837fa776398091e9e1669e5c0f (patch) | |
tree | 0ae030832a420c6cb45e566dce65a985beba1c03 /comphelper | |
parent | 9a807aeb49487180ae47e6755252ef1dc52d73ec (diff) |
Use rtl::OUStringHash.
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/inc/comphelper/stl_types.hxx | 6 | ||||
-rw-r--r-- | comphelper/source/property/genericpropertyset.cxx | 2 |
2 files changed, 1 insertions, 7 deletions
diff --git a/comphelper/inc/comphelper/stl_types.hxx b/comphelper/inc/comphelper/stl_types.hxx index 4f6583192716..79c4a17de291 100644 --- a/comphelper/inc/comphelper/stl_types.hxx +++ b/comphelper/inc/comphelper/stl_types.hxx @@ -91,12 +91,6 @@ struct UStringIEqual }; //------------------------------------------------------------------------ -struct UStringHash -{ - size_t operator() (const ::rtl::OUString& rStr) const {return rStr.hashCode();} -}; - -//------------------------------------------------------------------------ class UStringMixEqual { sal_Bool m_bCaseSensitive; diff --git a/comphelper/source/property/genericpropertyset.cxx b/comphelper/source/property/genericpropertyset.cxx index 008646001331..d2ba51ee9954 100644 --- a/comphelper/source/property/genericpropertyset.cxx +++ b/comphelper/source/property/genericpropertyset.cxx @@ -69,7 +69,7 @@ namespace comphelper { private: GenericAnyMapImpl maAnyMap; - ::cppu::OMultiTypeInterfaceContainerHelperVar< ::rtl::OUString,UStringHash,UStringEqual> m_aListener; + ::cppu::OMultiTypeInterfaceContainerHelperVar< ::rtl::OUString, ::rtl::OUStringHash,UStringEqual> m_aListener; protected: virtual void _setPropertyValues( const PropertyMapEntry** ppEntries, const Any* pValues ) throw( UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException ); |