summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/hierarchy/hierarchyprovider.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/hierarchy/hierarchyprovider.hxx')
-rw-r--r--ucb/source/ucp/hierarchy/hierarchyprovider.hxx20
1 files changed, 1 insertions, 19 deletions
diff --git a/ucb/source/ucp/hierarchy/hierarchyprovider.hxx b/ucb/source/ucp/hierarchy/hierarchyprovider.hxx
index 4f176f820e0c..7910309d42fd 100644
--- a/ucb/source/ucp/hierarchy/hierarchyprovider.hxx
+++ b/ucb/source/ucp/hierarchy/hierarchyprovider.hxx
@@ -63,29 +63,11 @@ struct ConfigProviderMapEntry
ConfigProviderMapEntry() : bTriedToGetRootReadAccess( false ) {}
};
-struct equalString
-{
- bool operator()(
- const OUString& rKey1, const OUString& rKey2 ) const
- {
- return !!( rKey1 == rKey2 );
- }
-};
-
-struct hashString
-{
- size_t operator()( const OUString & rName ) const
- {
- return rName.hashCode();
- }
-};
-
typedef boost::unordered_map
<
OUString, // servcie specifier
ConfigProviderMapEntry,
- hashString,
- equalString
+ OUStringHash
>
ConfigProviderMap;