diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/cppuhelper/interfacecontainer.h | 2 | ||||
-rw-r--r-- | include/sfx2/unoctitm.hxx | 9 |
2 files changed, 3 insertions, 8 deletions
diff --git a/include/cppuhelper/interfacecontainer.h b/include/cppuhelper/interfacecontainer.h index fade8bb52517..7dfff29d43d6 100644 --- a/include/cppuhelper/interfacecontainer.h +++ b/include/cppuhelper/interfacecontainer.h @@ -296,7 +296,7 @@ inline void OInterfaceContainerHelper::notifyEach( void ( SAL_CALL ListenerT::*N @see OInterfaceIteratorHelper @see OInterfaceContainerHelper */ -template< class key , class hashImpl , class equalImpl = std::equal_to<key> > +template< class key, class hashImpl = void, class equalImpl = std::equal_to<key> > class OMultiTypeInterfaceContainerHelperVar { public: diff --git a/include/sfx2/unoctitm.hxx b/include/sfx2/unoctitm.hxx index 75d245721836..6e8d5729d8c4 100644 --- a/include/sfx2/unoctitm.hxx +++ b/include/sfx2/unoctitm.hxx @@ -70,13 +70,8 @@ public: void ReleaseBindings(); }; -struct SfxStatusDispatcher_Impl_hashType -{ - size_t operator()(const OUString& s) const - { return s.hashCode(); } -}; - -typedef ::cppu::OMultiTypeInterfaceContainerHelperVar< OUString, SfxStatusDispatcher_Impl_hashType > SfxStatusDispatcher_Impl_ListenerContainer ; +typedef cppu::OMultiTypeInterfaceContainerHelperVar<OUString> + SfxStatusDispatcher_Impl_ListenerContainer; class SfxStatusDispatcher : public ::cppu::WeakImplHelper1< css::frame::XNotifyingDispatch > { |