diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-06-05 22:01:12 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-06-05 22:16:58 +0200 |
commit | b07438bda1f48465dca1df08af836106859040d5 (patch) | |
tree | 46665760bf9f788331cc0da30a6733acb103afa6 | |
parent | 9f4576136521f183bac9cc1db38f2d1a0c02d928 (diff) |
...and so m_lDetectServices is never read
Change-Id: I3ea0c037d2b614b010093692dc6451110d2b342c
-rw-r--r-- | filter/source/config/cache/filtercache.cxx | 8 | ||||
-rw-r--r-- | filter/source/config/cache/filtercache.hxx | 4 |
2 files changed, 0 insertions, 12 deletions
diff --git a/filter/source/config/cache/filtercache.cxx b/filter/source/config/cache/filtercache.cxx index a2a0898b354c..ad250376cb5e 100644 --- a/filter/source/config/cache/filtercache.cxx +++ b/filter/source/config/cache/filtercache.cxx @@ -85,7 +85,6 @@ FilterCache* FilterCache::clone() const // if they are needed. pClone->m_lTypes = m_lTypes; - pClone->m_lDetectServices = m_lDetectServices; pClone->m_lFilters = m_lFilters; pClone->m_lFrameLoaders = m_lFrameLoaders; pClone->m_lContentHandlers = m_lContentHandlers; @@ -1008,13 +1007,6 @@ void FilterCache::impl_validateAndOptimize() OUString sType = pIt->first; CacheItem aType = pIt->second; - // create list of all known detect services / frame loader / content handler on demand - // Because these information are available as type properties! - OUString sDetectService; - aType[PROPNAME_DETECTSERVICE ] >>= sDetectService; - if (!sDetectService.isEmpty()) - impl_resolveItem4TypeRegistration(&m_lDetectServices, sDetectService, sType); - // get its registration for file Extensions AND(!) URLPattern ... // It doesn't matter if these items exists or if our // used index access create some default ones ... diff --git a/filter/source/config/cache/filtercache.hxx b/filter/source/config/cache/filtercache.hxx index eb992482d217..2e82ccff3405 100644 --- a/filter/source/config/cache/filtercache.hxx +++ b/filter/source/config/cache/filtercache.hxx @@ -188,10 +188,6 @@ class FilterCache : public BaseLock mutable CacheItemList m_lTypes; - /** @short contains all well known detect service with its properties. */ - mutable CacheItemList m_lDetectServices; - - /** @short contains all loaded filters with its properties. */ mutable CacheItemList m_lFilters; |