summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-09-23 20:55:37 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-09-24 12:15:13 +0100
commitdd691312a3a0e0e18ade5c64a3c4f5115c3fde0f (patch)
tree489780181fd40255c2534614664c59b9f6a7716c /linguistic
parent3be5deadcb46e09d84d99b2b108b65b06ff356e9 (diff)
we shouldn't need explicit lt_rtl_OUString, etc things anymore
Change-Id: Ibeec3fcc353e07e61fb2c838b318e0a04081ce2c
Diffstat (limited to 'linguistic')
-rw-r--r--linguistic/source/convdic.hxx25
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