diff options
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/cacher/contentresultsetwrapper.hxx | 11 | ||||
-rw-r--r-- | ucb/source/core/ucbstore.cxx | 18 | ||||
-rw-r--r-- | ucb/source/sorter/sortresult.cxx | 36 | ||||
-rw-r--r-- | ucb/source/ucp/file/bc.cxx | 7 |
4 files changed, 7 insertions, 65 deletions
diff --git a/ucb/source/cacher/contentresultsetwrapper.hxx b/ucb/source/cacher/contentresultsetwrapper.hxx index 9148a02030f9..7041cd5cb1b0 100644 --- a/ucb/source/cacher/contentresultsetwrapper.hxx +++ b/ucb/source/cacher/contentresultsetwrapper.hxx @@ -48,15 +48,8 @@ class ContentResultSetWrapper , public com::sun::star::sdbc::XRow { protected: - - - //class PropertyChangeListenerContainer_Impl. - - typedef cppu::OMultiTypeInterfaceContainerHelperVar - < OUString, OUStringHash > - PropertyChangeListenerContainer_Impl; - - // class ReacquireableGuard + typedef cppu::OMultiTypeInterfaceContainerHelperVar<OUString> + PropertyChangeListenerContainer_Impl; class ReacquireableGuard { diff --git a/ucb/source/core/ucbstore.cxx b/ucb/source/core/ucbstore.cxx index 07f4533edbf0..d6ba6e7fe1e2 100644 --- a/ucb/source/core/ucbstore.cxx +++ b/ucb/source/core/ucbstore.cxx @@ -1119,23 +1119,7 @@ Reference< XInterface > PropertySetRegistry::getConfigWriteAccess( return Reference< XInterface >(); } - - -// PropertyListeners_Impl. - - - -typedef OMultiTypeInterfaceContainerHelperVar -< - OUString, - OUStringHash -> PropertyListeners_Impl; - - - -// PersistentPropertySet_Impl. - - +typedef OMultiTypeInterfaceContainerHelperVar<OUString> PropertyListeners_Impl; struct PersistentPropertySet_Impl { diff --git a/ucb/source/sorter/sortresult.cxx b/ucb/source/sorter/sortresult.cxx index 8b6203499301..85eb0e84bf25 100644 --- a/ucb/source/sorter/sortresult.cxx +++ b/ucb/source/sorter/sortresult.cxx @@ -111,40 +111,8 @@ public: throw( RuntimeException, std::exception ) SAL_OVERRIDE; }; - - -// 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 OMultiTypeInterfaceContainerHelperVar -< - OUString, - hashStr_Impl, - equalStr_Impl -> PropertyChangeListenerContainer_Impl; - - - -// class PropertyChangeListeners_Impl - - +typedef OMultiTypeInterfaceContainerHelperVar<OUString> + PropertyChangeListenerContainer_Impl; class PropertyChangeListeners_Impl : public PropertyChangeListenerContainer_Impl { diff --git a/ucb/source/ucp/file/bc.cxx b/ucb/source/ucp/file/bc.cxx index 130c8bd41450..de2f777b0a57 100644 --- a/ucb/source/ucp/file/bc.cxx +++ b/ucb/source/ucp/file/bc.cxx @@ -54,11 +54,8 @@ using namespace com::sun::star::ucb; #define THROW_WHERE "" #endif -// PropertyListeners - - -typedef cppu::OMultiTypeInterfaceContainerHelperVar< OUString,OUStringHash > -PropertyListeners_impl; +typedef cppu::OMultiTypeInterfaceContainerHelperVar<OUString> + PropertyListeners_impl; class fileaccess::PropertyListeners : public PropertyListeners_impl |