diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-04-15 07:44:14 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-04-15 07:46:43 +0200 |
commit | fa0ffdbeb5a12b51c5d9202a5d7709d713a719f1 (patch) | |
tree | 4b742ff087e7f8a3a97d4faa4402cb1a924f52a5 /ucb | |
parent | c2ffc9e180d387359d9c465770db3d01b7e84951 (diff) |
cppu::OMultiTypeInterfaceContainerHelperVar hashImpl param is unused
...since f059134fab0f91b7a15594ad06536a13fbfae034 "INTEGRATION: CWS
cppuhelpshrink: #i72766# save memory in cppuhelper, using a vector instead of a
hash_map" (but a dummy "void" default is left in place for backwards
compatibility).
Change-Id: I3bb0af8158f34737d41c344464f3cf944e2891ed
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 |