summaryrefslogtreecommitdiff
path: root/desktop/source/app/dispatchwatcher.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-09-17 09:19:08 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-09-17 10:08:23 +0100
commitf2be92b68d936c6e9d5e8a96deb1580bcbf8c17f (patch)
tree38c50cace69ddb2e33970a4a540780b51fee82b3 /desktop/source/app/dispatchwatcher.hxx
parentdbf2273e45c8b134b1470ee6173ca260e2545fed (diff)
remove OUStringHashCode in favor of OUStringHash
(and as always if you find one, you can be sure there are 6 others in there when you grep for them) Change-Id: I9296ddbdda266c7b6d8a0ac0bc13ec5b6340cee7
Diffstat (limited to 'desktop/source/app/dispatchwatcher.hxx')
-rw-r--r--desktop/source/app/dispatchwatcher.hxx10
1 files changed, 1 insertions, 9 deletions
diff --git a/desktop/source/app/dispatchwatcher.hxx b/desktop/source/app/dispatchwatcher.hxx
index 2a0c86983f17..8a0468ee5acc 100644
--- a/desktop/source/app/dispatchwatcher.hxx
+++ b/desktop/source/app/dispatchwatcher.hxx
@@ -39,15 +39,7 @@ namespace desktop
running office without UI.
*/
-struct OUStringHashCode
-{
- size_t operator()( const OUString& sString ) const
- {
- return sString.hashCode();
- }
-};
-
-class DispatchWatcherHashMap : public ::boost::unordered_map< OUString, sal_Int32, OUStringHashCode, ::std::equal_to< OUString > >
+class DispatchWatcherHashMap : public ::boost::unordered_map< OUString, sal_Int32, OUStringHash, ::std::equal_to< OUString > >
{
public:
inline void free()