summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-04-15 07:44:14 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-04-15 07:46:43 +0200
commitfa0ffdbeb5a12b51c5d9202a5d7709d713a719f1 (patch)
tree4b742ff087e7f8a3a97d4faa4402cb1a924f52a5 /include
parentc2ffc9e180d387359d9c465770db3d01b7e84951 (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 'include')
-rw-r--r--include/cppuhelper/interfacecontainer.h2
-rw-r--r--include/sfx2/unoctitm.hxx9
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 >
{