summaryrefslogtreecommitdiff
path: root/filter/source/config
diff options
context:
space:
mode:
Diffstat (limited to 'filter/source/config')
-rw-r--r--filter/source/config/cache/cacheitem.hxx10
-rw-r--r--filter/source/config/cache/querytokenizer.hxx4
2 files changed, 5 insertions, 9 deletions
diff --git a/filter/source/config/cache/cacheitem.hxx b/filter/source/config/cache/cacheitem.hxx
index e1b2dcd2a02f..b798f2d6cee7 100644
--- a/filter/source/config/cache/cacheitem.hxx
+++ b/filter/source/config/cache/cacheitem.hxx
@@ -146,9 +146,8 @@ class CacheItem : public ::comphelper::SequenceAsHashMap
/** @short represent an item list of a FilterCache
instance.
*/
-typedef std::unordered_map< OUString ,
- CacheItem ,
- OUStringHash > CacheItemList;
+typedef std::unordered_map< OUString,
+ CacheItem > CacheItemList;
/** @short supports registration of multiple key to
@@ -163,9 +162,8 @@ typedef std::unordered_map< OUString ,
there we need key-value pairs too, which can't be provided
by a pure vector!
*/
-typedef std::unordered_map< OUString ,
- OUStringList ,
- OUStringHash > CacheItemRegistration;
+typedef std::unordered_map< OUString,
+ OUStringList > CacheItemRegistration;
/** @short is used to collect all matching types of an URL
diff --git a/filter/source/config/cache/querytokenizer.hxx b/filter/source/config/cache/querytokenizer.hxx
index b6147ac00e1c..149ddba60552 100644
--- a/filter/source/config/cache/querytokenizer.hxx
+++ b/filter/source/config/cache/querytokenizer.hxx
@@ -45,9 +45,7 @@ namespace filter{
@attention This class is not threadsafe implemented. Because it's not necessary.
But you have to make sure that it's not used as such :-)
*/
-class QueryTokenizer : public std::unordered_map< OUString ,
- OUString ,
- OUStringHash >
+class QueryTokenizer : public std::unordered_map< OUString, OUString >
{
// member