diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-11 09:16:16 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-11 10:47:30 +0100 |
commit | c8d8bcf3fdf49aae6d8415c9c9a9f9418d87bd6b (patch) | |
tree | bbc0fbdfd9d399488578db7b23cdc202dec5b829 /filter | |
parent | 5a37986b4cae4c1c5d25fd19cfa2edb9edd4ba53 (diff) |
callcatcher: update unused code
Change-Id: Iee19af81c648cb82074d8cabc13716b0d38c7ff6
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/config/cache/filtercache.cxx | 23 | ||||
-rw-r--r-- | filter/source/config/cache/filtercache.hxx | 35 |
2 files changed, 0 insertions, 58 deletions
diff --git a/filter/source/config/cache/filtercache.cxx b/filter/source/config/cache/filtercache.cxx index e9ac3ed81950..f3f5321aedaf 100644 --- a/filter/source/config/cache/filtercache.cxx +++ b/filter/source/config/cache/filtercache.cxx @@ -1271,29 +1271,6 @@ FilterCache::EItemFlushState FilterCache::impl_specifyFlushOperation(const css:: return eState; } - - -void FilterCache::impl_resolveItem4TypeRegistration( CacheItemList* pList, - const OUString& sItem, - const OUString& sType) - throw(css::uno::Exception) -{ - CacheItem& rItem = (*pList)[sItem]; - // In case it's a new created entry (automatically done by the boost::unordered_map index operator!) - // we must be sure, that this entry has its own name as property available. - // Its needed later at our container interface! - rItem[PROPNAME_NAME] <<= sItem; - - OUStringList lTypeRegs(rItem[PROPNAME_TYPES]); - if (::std::find(lTypeRegs.begin(), lTypeRegs.end(), sType) == lTypeRegs.end()) - { - lTypeRegs.push_back(sType); - rItem[PROPNAME_TYPES] <<= lTypeRegs.getAsConstList(); - } -} - - - void FilterCache::impl_load(EFillState eRequiredState) throw(css::uno::Exception) { diff --git a/filter/source/config/cache/filtercache.hxx b/filter/source/config/cache/filtercache.hxx index 33efef10afd1..d4051619b9dd 100644 --- a/filter/source/config/cache/filtercache.hxx +++ b/filter/source/config/cache/filtercache.hxx @@ -732,41 +732,6 @@ class FilterCache : public BaseLock void impl_validateAndOptimize() throw(css::uno::Exception); - - - /** @short register the specified item for the given type. - - @descr Because detect services, frame loader or content handler - are not listed inside the xml configuration as separated - items (they are properties of any type entry!), this method update - the internal lists of such items. Thats necessary to have - it accessible for our container interfaces of detect, frame loader - and content handler services. - - @param pList - points to a CacheItemList of this filter cache, where - this item registration should be updated or added. - - @param sItem - specify the detect service, frame loader or content handler, - which should be registered for the given type. - - @param sType - contains the internal type name, where the item should be registered for. - - @throw [css::uno::Exception] - If registration failed by any reason. - That does not include double registrations! - */ - static - void impl_resolveItem4TypeRegistration( CacheItemList* pList, - const OUString& sItem, - const OUString& sType) - throw(css::uno::Exception); - - - // static helper - private: |