summaryrefslogtreecommitdiff
path: root/ucb/source/cacher
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-12-06 11:57:54 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-12-06 12:03:59 +0100
commit0fa31bed9a7a0666df26a1016d74df3ec15b40f9 (patch)
tree679aea468eef96285855e2a4b7316ee2f0de37d6 /ucb/source/cacher
parent4ae9b3ab10c882bd9c25b1f1303325a0ecd7fc06 (diff)
Default OMultiTypeInferfaceContainerHelperVar equalImpl parameter
...and assorted OUStringHash clean up Change-Id: I779904e1275e8df88f567beb388d1d11af9e9671
Diffstat (limited to 'ucb/source/cacher')
-rw-r--r--ucb/source/cacher/contentresultsetwrapper.hxx18
1 files changed, 1 insertions, 17 deletions
diff --git a/ucb/source/cacher/contentresultsetwrapper.hxx b/ucb/source/cacher/contentresultsetwrapper.hxx
index 7d1b3bf65740..9874049d55e0 100644
--- a/ucb/source/cacher/contentresultsetwrapper.hxx
+++ b/ucb/source/cacher/contentresultsetwrapper.hxx
@@ -52,24 +52,8 @@ protected:
//--------------------------------------------------------------------------
//class PropertyChangeListenerContainer_Impl.
- 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 >
+ < OUString, OUStringHash >
PropertyChangeListenerContainer_Impl;
//--------------------------------------------------------------------------
// class ReacquireableGuard