diff options
Diffstat (limited to 'stoc/source/inspect/introspection.cxx')
-rw-r--r-- | stoc/source/inspect/introspection.cxx | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/stoc/source/inspect/introspection.cxx b/stoc/source/inspect/introspection.cxx index 482cb3fd3ca7..2051b08124f8 100644 --- a/stoc/source/inspect/introspection.cxx +++ b/stoc/source/inspect/introspection.cxx @@ -136,28 +136,11 @@ bool isDerivedFrom( Reference<XIdlClass> xToTestClass, Reference<XIdlClass> xDer // part of the new Instance-related ImplIntrospectionAccess // Hashtable for the search of names -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 > IntrospectionNameMap; @@ -168,8 +151,7 @@ typedef boost::unordered_map < OUString, OUString, - hashName_Impl, - eqName_Impl + OUStringHash > LowerToExactNameMap; |