summaryrefslogtreecommitdiff
path: root/framework/inc
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 /framework/inc
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 'framework/inc')
-rw-r--r--framework/inc/dispatch/menudispatcher.hxx9
-rw-r--r--framework/inc/dispatch/popupmenudispatcher.hxx9
-rw-r--r--framework/inc/stdtypes.h8
3 files changed, 5 insertions, 21 deletions
diff --git a/framework/inc/dispatch/menudispatcher.hxx b/framework/inc/dispatch/menudispatcher.hxx
index 4fa20001ac05..977c3855745d 100644
--- a/framework/inc/dispatch/menudispatcher.hxx
+++ b/framework/inc/dispatch/menudispatcher.hxx
@@ -47,13 +47,8 @@
namespace framework{
-/*-************************************************************************************************************
- We must save information about our listener and URL for listening.
- We implement this as a hashtable for strings.
-*//*-*************************************************************************************************************/
-
-typedef ::cppu::OMultiTypeInterfaceContainerHelperVar< OUString ,
- OUStringHash > IMPL_ListenerHashContainer;
+typedef cppu::OMultiTypeInterfaceContainerHelperVar<OUString>
+ IMPL_ListenerHashContainer;
/*-************************************************************************************************************
@short helper for desktop only(!) to create new tasks on demand for dispatches
diff --git a/framework/inc/dispatch/popupmenudispatcher.hxx b/framework/inc/dispatch/popupmenudispatcher.hxx
index 7c2c4e74283b..8c60489b6703 100644
--- a/framework/inc/dispatch/popupmenudispatcher.hxx
+++ b/framework/inc/dispatch/popupmenudispatcher.hxx
@@ -49,13 +49,8 @@
namespace framework{
-/*-************************************************************************************************************
- We must save information about our listener and URL for listening.
- We implement this as a hashtable for strings.
-*//*-*************************************************************************************************************/
-
-typedef ::cppu::OMultiTypeInterfaceContainerHelperVar< OUString ,
- OUStringHash > IMPL_ListenerHashContainer;
+typedef cppu::OMultiTypeInterfaceContainerHelperVar<OUString>
+ IMPL_ListenerHashContainer;
/*-************************************************************************************************************
@short helper for desktop only(!) to create new tasks on demand for dispatches
diff --git a/framework/inc/stdtypes.h b/framework/inc/stdtypes.h
index 9accf59e5340..3d23bdda4101 100644
--- a/framework/inc/stdtypes.h
+++ b/framework/inc/stdtypes.h
@@ -152,13 +152,7 @@ typedef BaseHash< OUString > OUStringHashMap;
*/
typedef BaseHash< sal_Int32 > NameToHandleHash;
-/**
- Sometimes we need this template to implement listener container ...
- and we need it at different positions ...
- So it's better to declare it one times only!
-*/
-typedef ::cppu::OMultiTypeInterfaceContainerHelperVar< OUString ,
- OUStringHash > ListenerHash;
+typedef cppu::OMultiTypeInterfaceContainerHelperVar<OUString> ListenerHash;
} // namespace framework