diff options
Diffstat (limited to 'sfx2/source/appl/newhelp.cxx')
-rw-r--r-- | sfx2/source/appl/newhelp.cxx | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/sfx2/source/appl/newhelp.cxx b/sfx2/source/appl/newhelp.cxx index 188ef595d6ec..8210a3a82bbb 100644 --- a/sfx2/source/appl/newhelp.cxx +++ b/sfx2/source/appl/newhelp.cxx @@ -553,24 +553,7 @@ IndexTabPage_Impl::~IndexTabPage_Impl() namespace sfx2 { - struct equalOUString - { - bool operator()( const OUString& rKey1, const OUString& rKey2 ) const - { - return !!( rKey1 == rKey2 ); - } - }; - - - struct hashOUString - { - size_t operator()( const OUString& rName ) const - { - return rName.hashCode(); - } - }; - - typedef ::boost::unordered_map< OUString, int, hashOUString, equalOUString > KeywordInfo; + typedef ::boost::unordered_map< OUString, int, OUStringHash > KeywordInfo; } #define NEW_ENTRY( url, bool ) \ |