diff options
Diffstat (limited to 'ucbhelper/source')
-rw-r--r-- | ucbhelper/source/provider/contenthelper.cxx | 19 | ||||
-rw-r--r-- | ucbhelper/source/provider/resultset.cxx | 19 |
2 files changed, 2 insertions, 36 deletions
diff --git a/ucbhelper/source/provider/contenthelper.cxx b/ucbhelper/source/provider/contenthelper.cxx index 2f1fde05a1f1..8b9159a1d08e 100644 --- a/ucbhelper/source/provider/contenthelper.cxx +++ b/ucbhelper/source/provider/contenthelper.cxx @@ -106,27 +106,10 @@ PropertiesEventListenerMap; // //========================================================================= -struct equalStr -{ - bool operator()( const OUString& s1, const OUString& s2 ) const - { - return !!( s1 == s2 ); - } -}; - -struct hashStr -{ - size_t operator()( const OUString& rName ) const - { - return rName.hashCode(); - } -}; - typedef cppu::OMultiTypeInterfaceContainerHelperVar < OUString, - hashStr, - equalStr + OUStringHash > PropertyChangeListeners; //========================================================================= diff --git a/ucbhelper/source/provider/resultset.cxx b/ucbhelper/source/provider/resultset.cxx index 858ebbad77d3..beed2f1873c2 100644 --- a/ucbhelper/source/provider/resultset.cxx +++ b/ucbhelper/source/provider/resultset.cxx @@ -120,27 +120,10 @@ public: // //========================================================================= -struct equalStr_Impl -{ - bool operator()( const OUString& s1, const OUString& s2 ) const - { - return !!( s1 == s2 ); - } -}; - -struct hashStr_Impl -{ - size_t operator()( const OUString& rName ) const - { - return rName.hashCode(); - } -}; - typedef cppu::OMultiTypeInterfaceContainerHelperVar < OUString, - hashStr_Impl, - equalStr_Impl + OUStringHash > PropertyChangeListenerContainer; //========================================================================= |