summaryrefslogtreecommitdiff
path: root/include/toolkit/controls/eventcontainer.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/toolkit/controls/eventcontainer.hxx')
-rw-r--r--include/toolkit/controls/eventcontainer.hxx19
1 files changed, 1 insertions, 18 deletions
diff --git a/include/toolkit/controls/eventcontainer.hxx b/include/toolkit/controls/eventcontainer.hxx
index 2744c1d413ce..9ba2391638ce 100644
--- a/include/toolkit/controls/eventcontainer.hxx
+++ b/include/toolkit/controls/eventcontainer.hxx
@@ -36,28 +36,11 @@ namespace toolkit
{
// Hashtable to optimize
-struct hashName_Impl
-{
- size_t operator()(const OUString& Str) const
- {
- return (size_t)Str.hashCode();
- }
-};
-
-struct eqName_Impl
-{
- bool operator()(const OUString& Str1, const OUString& Str2) const
- {
- return ( Str1 == Str2 );
- }
-};
-
typedef boost::unordered_map
<
OUString,
sal_Int32,
- hashName_Impl,
- eqName_Impl
+ OUStringHash
>
NameContainerNameMap;