diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-09-17 09:19:08 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-09-17 10:08:23 +0100 |
commit | f2be92b68d936c6e9d5e8a96deb1580bcbf8c17f (patch) | |
tree | 38c50cace69ddb2e33970a4a540780b51fee82b3 /unotools/source/config/optionsdlg.cxx | |
parent | dbf2273e45c8b134b1470ee6173ca260e2545fed (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 'unotools/source/config/optionsdlg.cxx')
-rw-r--r-- | unotools/source/config/optionsdlg.cxx | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/unotools/source/config/optionsdlg.cxx b/unotools/source/config/optionsdlg.cxx index f204d203fc97..a109eca84c0f 100644 --- a/unotools/source/config/optionsdlg.cxx +++ b/unotools/source/config/optionsdlg.cxx @@ -46,15 +46,7 @@ static sal_Int32 nRefCount = 0; class SvtOptionsDlgOptions_Impl : public utl::ConfigItem { private: - struct OUStringHashCode - { - size_t operator()( const OUString& sString ) const - { - return sString.hashCode(); - } - }; - - typedef boost::unordered_map< OUString, sal_Bool, OUStringHashCode, ::std::equal_to< OUString > > OptionNodeList; + typedef boost::unordered_map< OUString, sal_Bool, OUStringHash, ::std::equal_to< OUString > > OptionNodeList; OUString m_sPathDelimiter; OptionNodeList m_aOptionNodeList; |