diff options
Diffstat (limited to 'framework/inc')
-rw-r--r-- | framework/inc/dispatch/menudispatcher.hxx | 9 | ||||
-rw-r--r-- | framework/inc/dispatch/popupmenudispatcher.hxx | 9 | ||||
-rw-r--r-- | framework/inc/stdtypes.h | 8 |
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 |