...and E_DETECTSERVICE is just as unused

Change-Id: I6f7c230e83a58f4889696b98fcd7bf24d0853ce0
This commit is contained in:
Stephan Bergmann 2014-06-05 21:50:52 +02:00
parent 936f197887
commit db4d07e3a8
3 changed files with 1 additions and 17 deletions

View File

@ -104,9 +104,6 @@ void BaseContainer::impl_loadOnDemand()
eRequiredState = FilterCache::E_CONTAINS_FILTERS; eRequiredState = FilterCache::E_CONTAINS_FILTERS;
break; break;
case FilterCache::E_DETECTSERVICE :
break;
case FilterCache::E_FRAMELOADER : case FilterCache::E_FRAMELOADER :
eRequiredState = FilterCache::E_CONTAINS_FRAMELOADERS; eRequiredState = FilterCache::E_CONTAINS_FRAMELOADERS;
break; break;

View File

@ -743,7 +743,6 @@ const CacheItemList& FilterCache::impl_getItemList(EItemType eType) const
case E_FILTER : return m_lFilters ; case E_FILTER : return m_lFilters ;
case E_FRAMELOADER : return m_lFrameLoaders ; case E_FRAMELOADER : return m_lFrameLoaders ;
case E_CONTENTHANDLER : return m_lContentHandlers; case E_CONTENTHANDLER : return m_lContentHandlers;
case E_DETECTSERVICE : return m_lDetectServices ;
} }
@ -763,7 +762,6 @@ CacheItemList& FilterCache::impl_getItemList(EItemType eType)
case E_FILTER : return m_lFilters ; case E_FILTER : return m_lFilters ;
case E_FRAMELOADER : return m_lFrameLoaders ; case E_FRAMELOADER : return m_lFrameLoaders ;
case E_CONTENTHANDLER : return m_lContentHandlers; case E_CONTENTHANDLER : return m_lContentHandlers;
case E_DETECTSERVICE : return m_lDetectServices ;
} }
@ -1267,10 +1265,6 @@ void FilterCache::impl_addItem2FlushList( EItemType eType,
pList = &m_lChangedContentHandlers; pList = &m_lChangedContentHandlers;
break; break;
case E_DETECTSERVICE :
pList = &m_lChangedDetectServices;
break;
default : throw css::uno::Exception("unsupported item type", 0); default : throw css::uno::Exception("unsupported item type", 0);
} }
@ -1795,12 +1789,6 @@ CacheItemList::iterator FilterCache::impl_loadItemOnDemand( EItemType
sSet = CFGSET_CONTENTHANDLERS; sSet = CFGSET_CONTENTHANDLERS;
} }
break; break;
case E_DETECTSERVICE :
{
SAL_WARN( "filter.config", "Cant load detect services on demand. Who use this unsupported feature?");
}
break;
} }
if (!pList) if (!pList)

View File

@ -77,8 +77,7 @@ class FilterCache : public BaseLock
E_TYPE , E_TYPE ,
E_FILTER , E_FILTER ,
E_FRAMELOADER , E_FRAMELOADER ,
E_CONTENTHANDLER, E_CONTENTHANDLER
E_DETECTSERVICE
}; };