diff options
Diffstat (limited to 'linguistic')
-rw-r--r-- | linguistic/source/convdic.hxx | 25 |
1 files changed, 3 insertions, 22 deletions
diff --git a/linguistic/source/convdic.hxx b/linguistic/source/convdic.hxx index 1ed485665874..44815515674e 100644 --- a/linguistic/source/convdic.hxx +++ b/linguistic/source/convdic.hxx @@ -41,30 +41,11 @@ bool IsConvDic( const OUString &rFileURL, sal_Int16 &nLang, sal_Int16 &nConvType ); -struct StrLT -{ - bool operator()( const OUString &rTxt1, const OUString &rTxt2 ) const - { - return rTxt1 < rTxt2; - } -}; - -struct StrEQ -{ - bool operator()( const OUString &rTxt1, const OUString &rTxt2 ) const - { - return rTxt1 == rTxt2; - } -}; - -typedef std::unordered_multimap< OUString, OUString, - const OUStringHash, StrEQ > ConvMap; - -typedef std::set< OUString, StrLT > ConvMapKeySet; +typedef std::unordered_multimap<OUString, OUString, const OUStringHash> ConvMap; -typedef std::unordered_multimap< OUString, sal_Int16, - OUStringHash, StrEQ > PropTypeMap; +typedef std::set<OUString> ConvMapKeySet; +typedef std::unordered_multimap<OUString, sal_Int16, OUStringHash> PropTypeMap; class ConvDic : public ::cppu::WeakImplHelper |