diff options
Diffstat (limited to 'filter/source/config/cache')
20 files changed, 0 insertions, 209 deletions
diff --git a/filter/source/config/cache/basecontainer.cxx b/filter/source/config/cache/basecontainer.cxx index c998ec6c7d13..0049b43636b5 100644 --- a/filter/source/config/cache/basecontainer.cxx +++ b/filter/source/config/cache/basecontainer.cxx @@ -44,13 +44,11 @@ BaseContainer::BaseContainer() } - BaseContainer::~BaseContainer() { } - void BaseContainer::init(const css::uno::Reference< css::uno::XComponentContext >& rxContext , const OUString& sImplementationName, const css::uno::Sequence< OUString >& lServiceNames , @@ -67,7 +65,6 @@ void BaseContainer::init(const css::uno::Reference< css::uno::XComponentContext } - void BaseContainer::impl_loadOnDemand() { #ifdef LOAD_IMPLICIT @@ -104,7 +101,6 @@ void BaseContainer::impl_loadOnDemand() } - void BaseContainer::impl_initFlushMode() throw (css::uno::RuntimeException) { @@ -119,7 +115,6 @@ void BaseContainer::impl_initFlushMode() } - FilterCache* BaseContainer::impl_getWorkingCache() const { // SAFE -> @@ -132,7 +127,6 @@ FilterCache* BaseContainer::impl_getWorkingCache() const } - OUString SAL_CALL BaseContainer::getImplementationName() throw (css::uno::RuntimeException, std::exception) { @@ -140,7 +134,6 @@ OUString SAL_CALL BaseContainer::getImplementationName() } - sal_Bool SAL_CALL BaseContainer::supportsService(const OUString& sServiceName) throw (css::uno::RuntimeException, std::exception) { @@ -154,7 +147,6 @@ css::uno::Sequence< OUString > SAL_CALL BaseContainer::getSupportedServiceNames( } - void SAL_CALL BaseContainer::insertByName(const OUString& sItem , const css::uno::Any& aValue) throw (css::lang::IllegalArgumentException , @@ -195,7 +187,6 @@ void SAL_CALL BaseContainer::insertByName(const OUString& sItem , } - void SAL_CALL BaseContainer::removeByName(const OUString& sItem) throw (css::container::NoSuchElementException, css::lang::WrappedTargetException , @@ -217,7 +208,6 @@ void SAL_CALL BaseContainer::removeByName(const OUString& sItem) } - void SAL_CALL BaseContainer::replaceByName(const OUString& sItem , const css::uno::Any& aValue) throw (css::lang::IllegalArgumentException , @@ -258,7 +248,6 @@ void SAL_CALL BaseContainer::replaceByName(const OUString& sItem , } - css::uno::Any SAL_CALL BaseContainer::getByName(const OUString& sItem) throw (css::container::NoSuchElementException, css::lang::WrappedTargetException , @@ -299,7 +288,6 @@ css::uno::Any SAL_CALL BaseContainer::getByName(const OUString& sItem) } - css::uno::Sequence< OUString > SAL_CALL BaseContainer::getElementNames() throw (css::uno::RuntimeException, std::exception) { @@ -328,7 +316,6 @@ css::uno::Sequence< OUString > SAL_CALL BaseContainer::getElementNames() } - sal_Bool SAL_CALL BaseContainer::hasByName(const OUString& sItem) throw (css::uno::RuntimeException, std::exception) { @@ -356,7 +343,6 @@ sal_Bool SAL_CALL BaseContainer::hasByName(const OUString& sItem) } - css::uno::Type SAL_CALL BaseContainer::getElementType() throw (css::uno::RuntimeException, std::exception) { @@ -366,7 +352,6 @@ css::uno::Type SAL_CALL BaseContainer::getElementType() } - sal_Bool SAL_CALL BaseContainer::hasElements() throw (css::uno::RuntimeException, std::exception) { @@ -394,7 +379,6 @@ sal_Bool SAL_CALL BaseContainer::hasElements() } - css::uno::Reference< css::container::XEnumeration > SAL_CALL BaseContainer::createSubSetEnumerationByQuery(const OUString& /* sQuery */ ) throw (css::uno::RuntimeException, std::exception) { @@ -405,7 +389,6 @@ css::uno::Reference< css::container::XEnumeration > SAL_CALL BaseContainer::crea } - css::uno::Reference< css::container::XEnumeration > SAL_CALL BaseContainer::createSubSetEnumerationByProperties(const css::uno::Sequence< css::beans::NamedValue >& lProperties) throw (css::uno::RuntimeException, std::exception) { @@ -453,7 +436,6 @@ css::uno::Reference< css::container::XEnumeration > SAL_CALL BaseContainer::crea } - void SAL_CALL BaseContainer::flush() throw (css::uno::RuntimeException, std::exception) { @@ -530,7 +512,6 @@ void SAL_CALL BaseContainer::flush() } - void SAL_CALL BaseContainer::addFlushListener(const css::uno::Reference< css::util::XFlushListener >& xListener) throw (css::uno::RuntimeException, std::exception) { @@ -540,7 +521,6 @@ void SAL_CALL BaseContainer::addFlushListener(const css::uno::Reference< css::ut } - void SAL_CALL BaseContainer::removeFlushListener(const css::uno::Reference< css::util::XFlushListener >& xListener) throw (css::uno::RuntimeException, std::exception) { diff --git a/filter/source/config/cache/basecontainer.hxx b/filter/source/config/cache/basecontainer.hxx index df104b1459e6..9c0f9246eba4 100644 --- a/filter/source/config/cache/basecontainer.hxx +++ b/filter/source/config/cache/basecontainer.hxx @@ -37,8 +37,6 @@ namespace filter{ namespace config{ - - /** @short implements the interface css::container::XNameContainer on top of a FilterCache reference. @@ -119,13 +117,11 @@ class BaseContainer : public BaseLock BaseContainer(); - /** @short standard dtor. */ virtual ~BaseContainer(); - /** @short initialize this generic intsnace with some specialized values from our derived object. @@ -161,14 +157,12 @@ class BaseContainer : public BaseLock protected: - /** @short check if the underlying configuration data was already loaded and do it if necessary automatically. */ void impl_loadOnDemand(); - /** @short it creates the global instance m_pFilterCache, which is a copy of the global instance m_rCache, and will be used to change the configuration. @@ -180,7 +174,6 @@ class BaseContainer : public BaseLock throw (css::uno::RuntimeException); - /** @short returns a pointer to the current used cache member. @descr Its a point to the FilterCache instance behind m_pFlushCache diff --git a/filter/source/config/cache/cacheitem.cxx b/filter/source/config/cache/cacheitem.cxx index ed235ca46b91..183b4d945191 100644 --- a/filter/source/config/cache/cacheitem.cxx +++ b/filter/source/config/cache/cacheitem.cxx @@ -39,7 +39,6 @@ CacheItem::CacheItem() } - void CacheItem::update(const CacheItem& rUpdateItem) { for(const_iterator pItUpdate = rUpdateItem.begin(); @@ -55,7 +54,6 @@ void CacheItem::update(const CacheItem& rUpdateItem) } - void CacheItem::validateUINames(const OUString& sActLocale) { if (sActLocale.isEmpty()) @@ -89,7 +87,6 @@ void CacheItem::validateUINames(const OUString& sActLocale) } - css::uno::Sequence< css::beans::PropertyValue > CacheItem::getAsPackedPropertyValueList() { sal_Int32 c = (sal_Int32)size(); @@ -118,7 +115,6 @@ css::uno::Sequence< css::beans::PropertyValue > CacheItem::getAsPackedPropertyVa } - bool isSubSet(const css::uno::Any& aSubSet, const css::uno::Any& aSet ) { @@ -326,7 +322,6 @@ bool isSubSet(const css::uno::Any& aSubSet, } - bool CacheItem::haveProps(const CacheItem& lProps) const { for (const_iterator pIt = lProps.begin(); @@ -357,7 +352,6 @@ bool CacheItem::haveProps(const CacheItem& lProps) const } - bool CacheItem::dontHaveProps(const CacheItem& lProps) const { for (const_iterator pIt = lProps.begin(); diff --git a/filter/source/config/cache/cacheitem.hxx b/filter/source/config/cache/cacheitem.hxx index 6410be46c095..e890f3aaf92a 100644 --- a/filter/source/config/cache/cacheitem.hxx +++ b/filter/source/config/cache/cacheitem.hxx @@ -52,7 +52,6 @@ struct BaseLock typedef ::std::vector< OUString > OUStringList; - /** @short represent an item of a FilterCache instance. @@ -71,7 +70,6 @@ class CacheItem : public ::comphelper::SequenceAsHashMap CacheItem(); - /** @short update only properties, which are given by the specified rItem. @@ -86,7 +84,6 @@ class CacheItem : public ::comphelper::SequenceAsHashMap void update(const CacheItem& rUpdateItem); - /** @short check, if the given properties exist at this item. @@ -103,7 +100,6 @@ class CacheItem : public ::comphelper::SequenceAsHashMap bool haveProps(const CacheItem& lProps) const; - /** @short check, if the given properties don't exist at this item. @@ -120,7 +116,6 @@ class CacheItem : public ::comphelper::SequenceAsHashMap bool dontHaveProps(const CacheItem& lProps) const; - /** @short because we know two UIName properties (a list with all locales and the value for the current locale only), we must be sure @@ -134,7 +129,6 @@ class CacheItem : public ::comphelper::SequenceAsHashMap void validateUINames(const OUString& sActLocale); - /** @short convert this structure to a seq< PropertyValue > and ignore all empty properties! @@ -151,7 +145,6 @@ class CacheItem : public ::comphelper::SequenceAsHashMap }; - /** @short represent an item list of a FilterCache instance. */ @@ -161,7 +154,6 @@ typedef std::unordered_map< OUString , std::equal_to< OUString > > CacheItemList; - /** @short supports registration of multiple key to another string information. @@ -180,7 +172,6 @@ typedef std::unordered_map< OUString , std::equal_to< OUString > > CacheItemRegistration; - /** @short is used to collect all matching types of an URL during type detection. diff --git a/filter/source/config/cache/cacheupdatelistener.cxx b/filter/source/config/cache/cacheupdatelistener.cxx index 9e222f58413c..4442a995b118 100644 --- a/filter/source/config/cache/cacheupdatelistener.cxx +++ b/filter/source/config/cache/cacheupdatelistener.cxx @@ -63,7 +63,6 @@ void CacheUpdateListener::startListening() } - void CacheUpdateListener::stopListening() { // SAFE -> @@ -80,7 +79,6 @@ void CacheUpdateListener::stopListening() } - void SAL_CALL CacheUpdateListener::changesOccurred(const css::util::ChangesEvent& aEvent) throw(css::uno::RuntimeException, std::exception) { @@ -180,7 +178,6 @@ void SAL_CALL CacheUpdateListener::changesOccurred(const css::util::ChangesEven } - void SAL_CALL CacheUpdateListener::disposing(const css::lang::EventObject& aEvent) throw(css::uno::RuntimeException, std::exception) { diff --git a/filter/source/config/cache/cacheupdatelistener.hxx b/filter/source/config/cache/cacheupdatelistener.hxx index 9a9704c52629..babc0aebd4a2 100644 --- a/filter/source/config/cache/cacheupdatelistener.hxx +++ b/filter/source/config/cache/cacheupdatelistener.hxx @@ -30,8 +30,6 @@ namespace filter{ namespace config{ - - /** @short implements a listener, which will update the global filter cache, if the underlying configuration wa changed by other processes. @@ -83,19 +81,16 @@ class CacheUpdateListener : public BaseLock // must be the first one to guarante FilterCache::EItemType eConfigType); - /** @short standard dtor. */ virtual ~CacheUpdateListener(); - /** @short starts listening. */ void startListening(); - /** @short stop listening. */ void stopListening(); diff --git a/filter/source/config/cache/configflush.hxx b/filter/source/config/cache/configflush.hxx index e5bde60d7580..62ac5ed71732 100644 --- a/filter/source/config/cache/configflush.hxx +++ b/filter/source/config/cache/configflush.hxx @@ -31,8 +31,6 @@ namespace filter{ namespace config{ - - /** @short supports registration of XRefreshListener on the global filter configuration. @@ -66,7 +64,6 @@ class ConfigFlush : public BaseLock ConfigFlush(); - /** @short standard dtor. */ virtual ~ConfigFlush(); diff --git a/filter/source/config/cache/contenthandlerfactory.cxx b/filter/source/config/cache/contenthandlerfactory.cxx index d0a5ab83cadc..1afda54d13b1 100644 --- a/filter/source/config/cache/contenthandlerfactory.cxx +++ b/filter/source/config/cache/contenthandlerfactory.cxx @@ -43,13 +43,11 @@ ContentHandlerFactory::ContentHandlerFactory(const css::uno::Reference< css::uno } - ContentHandlerFactory::~ContentHandlerFactory() { } - css::uno::Reference< css::uno::XInterface > SAL_CALL ContentHandlerFactory::createInstance(const OUString& sHandler) throw(css::uno::Exception , css::uno::RuntimeException, std::exception) @@ -58,7 +56,6 @@ css::uno::Reference< css::uno::XInterface > SAL_CALL ContentHandlerFactory::crea } - css::uno::Reference< css::uno::XInterface > SAL_CALL ContentHandlerFactory::createInstanceWithArguments(const OUString& sHandler , const css::uno::Sequence< css::uno::Any >& lArguments) throw(css::uno::Exception , @@ -135,7 +132,6 @@ css::uno::Reference< css::uno::XInterface > SAL_CALL ContentHandlerFactory::crea } - css::uno::Sequence< OUString > SAL_CALL ContentHandlerFactory::getAvailableServiceNames() throw(css::uno::RuntimeException, std::exception) { @@ -144,21 +140,18 @@ css::uno::Sequence< OUString > SAL_CALL ContentHandlerFactory::getAvailableServi } - OUString ContentHandlerFactory::impl_getImplementationName() { return OUString( "com.sun.star.comp.filter.config.ContentHandlerFactory" ); } - css::uno::Sequence< OUString > ContentHandlerFactory::impl_getSupportedServiceNames() { return { "com.sun.star.frame.ContentHandlerFactory" }; } - css::uno::Reference< css::uno::XInterface > SAL_CALL ContentHandlerFactory::impl_createInstance(const css::uno::Reference< css::lang::XMultiServiceFactory >& xSMGR) { ContentHandlerFactory* pNew = new ContentHandlerFactory( comphelper::getComponentContext(xSMGR) ); diff --git a/filter/source/config/cache/contenthandlerfactory.hxx b/filter/source/config/cache/contenthandlerfactory.hxx index e9e949d4190d..89e9077062c3 100644 --- a/filter/source/config/cache/contenthandlerfactory.hxx +++ b/filter/source/config/cache/contenthandlerfactory.hxx @@ -30,8 +30,6 @@ namespace filter{ namespace config{ - - /** @short implements the service <type scope="com.sun.star.document">ContentHandlerFactory</type>. */ class ContentHandlerFactory : public ::cppu::ImplInheritanceHelper< BaseContainer , @@ -56,7 +54,6 @@ class ContentHandlerFactory : public ::cppu::ImplInheritanceHelper< BaseContaine explicit ContentHandlerFactory(const css::uno::Reference< css::uno::XComponentContext >& rxContext); - /** @short standard dtor. */ virtual ~ContentHandlerFactory(); @@ -87,7 +84,6 @@ class ContentHandlerFactory : public ::cppu::ImplInheritanceHelper< BaseContaine public: - /** @short return the uno implementation name of this class. @descr Because this information is used at several places @@ -99,7 +95,6 @@ class ContentHandlerFactory : public ::cppu::ImplInheritanceHelper< BaseContaine static OUString impl_getImplementationName(); - /** @short return the list of supported uno services of this class. @descr Because this information is used at several places @@ -111,7 +106,6 @@ class ContentHandlerFactory : public ::cppu::ImplInheritanceHelper< BaseContaine static css::uno::Sequence< OUString > impl_getSupportedServiceNames(); - /** @short return a new intsnace of this class. @descr This method is used by the uno service manager, to create diff --git a/filter/source/config/cache/filtercache.cxx b/filter/source/config/cache/filtercache.cxx index aaa7dfbbaa56..ac3b91fe10d6 100644 --- a/filter/source/config/cache/filtercache.cxx +++ b/filter/source/config/cache/filtercache.cxx @@ -116,7 +116,6 @@ FilterCache::~FilterCache() } - FilterCache* FilterCache::clone() const { // SAFE -> ---------------------------------- @@ -149,7 +148,6 @@ FilterCache* FilterCache::clone() const } - void FilterCache::takeOver(const FilterCache& rClone) { // SAFE -> ---------------------------------- @@ -199,7 +197,6 @@ void FilterCache::takeOver(const FilterCache& rClone) } - void FilterCache::load(EFillState eRequired) throw(css::uno::Exception) { @@ -242,7 +239,6 @@ void FilterCache::load(EFillState eRequired) } - bool FilterCache::isFillState(FilterCache::EFillState eState) const throw(css::uno::Exception) { @@ -253,7 +249,6 @@ bool FilterCache::isFillState(FilterCache::EFillState eState) const } - OUStringList FilterCache::getMatchingItemsByProps( EItemType eType , const CacheItem& lIProps, const CacheItem& lEProps) const @@ -291,7 +286,6 @@ OUStringList FilterCache::getMatchingItemsByProps( EItemType eType , } - bool FilterCache::hasItems(EItemType eType) const throw(css::uno::Exception) { @@ -308,7 +302,6 @@ bool FilterCache::hasItems(EItemType eType) const } - OUStringList FilterCache::getItemNames(EItemType eType) const throw(css::uno::Exception) { @@ -332,7 +325,6 @@ OUStringList FilterCache::getItemNames(EItemType eType) const } - bool FilterCache::hasItem( EItemType eType, const OUString& sItem) throw(css::uno::Exception) @@ -366,7 +358,6 @@ bool FilterCache::hasItem( EItemType eType, } - CacheItem FilterCache::getItem( EItemType eType, const OUString& sItem) throw(css::uno::Exception) @@ -418,7 +409,6 @@ CacheItem FilterCache::getItem( EItemType eType, } - void FilterCache::removeItem( EItemType eType, const OUString& sItem) throw(css::uno::Exception) @@ -440,7 +430,6 @@ void FilterCache::removeItem( EItemType eType, } - void FilterCache::setItem( EItemType eType , const OUString& sItem , const CacheItem& aValue) @@ -480,7 +469,6 @@ void FilterCache::refreshItem( EItemType eType, } - void FilterCache::addStatePropsToItem( EItemType eType, const OUString& sItem, CacheItem& rItem) @@ -577,7 +565,6 @@ void FilterCache::addStatePropsToItem( EItemType eType, } - void FilterCache::removeStatePropsFromItem(CacheItem& rItem) throw(css::uno::Exception) { @@ -591,7 +578,6 @@ void FilterCache::removeStatePropsFromItem(CacheItem& rItem) } - void FilterCache::flush() throw(css::uno::Exception) { @@ -629,7 +615,6 @@ void FilterCache::flush() } - void FilterCache::impl_flushByList(const css::uno::Reference< css::container::XNameAccess >& xSet , EItemType eType , const CacheItemList& rCache, @@ -691,7 +676,6 @@ void FilterCache::impl_flushByList(const css::uno::Reference< css::container::XN } - void FilterCache::detectFlatForURL(const css::util::URL& aURL , FlatDetection& rFlatTypes) const throw(css::uno::Exception) @@ -925,7 +909,6 @@ css::uno::Any FilterCache::impl_getDirectCFGValue(const OUString& sDirectKey) } - css::uno::Reference< css::uno::XInterface > FilterCache::impl_createConfigAccess(const OUString& sRoot , bool bReadOnly , bool bLocalesMode) @@ -985,7 +968,6 @@ css::uno::Reference< css::uno::XInterface > FilterCache::impl_createConfigAccess } - void FilterCache::impl_validateAndOptimize() throw(css::uno::Exception) { @@ -1419,7 +1401,6 @@ void FilterCache::impl_load(EFillState eRequiredState) } - void FilterCache::impl_loadSet(const css::uno::Reference< css::container::XNameAccess >& xConfig, EItemType eType , EReadOption eOption, @@ -1530,7 +1511,6 @@ void FilterCache::impl_loadSet(const css::uno::Reference< css::container::XNameA } - void FilterCache::impl_readPatchUINames(const css::uno::Reference< css::container::XNameAccess >& xNode, CacheItem& rItem) throw(css::uno::Exception) @@ -1592,7 +1572,6 @@ void FilterCache::impl_readPatchUINames(const css::uno::Reference< css::containe } - void FilterCache::impl_savePatchUINames(const css::uno::Reference< css::container::XNameReplace >& xNode, const CacheItem& rItem) throw(css::uno::Exception) @@ -1731,7 +1710,6 @@ CacheItem FilterCache::impl_loadItem(const css::uno::Reference< css::container:: } - CacheItemList::iterator FilterCache::impl_loadItemOnDemand( EItemType eType, const OUString& sItem) throw(css::uno::Exception) @@ -1806,7 +1784,6 @@ CacheItemList::iterator FilterCache::impl_loadItemOnDemand( EItemType } - void FilterCache::impl_saveItem(const css::uno::Reference< css::container::XNameReplace >& xItem, EItemType eType, const CacheItem& aItem) @@ -2062,7 +2039,6 @@ SfxFilterFlags FilterCache::impl_convertFlagNames2FlagField(const css::uno::Sequ } - void FilterCache::impl_interpretDataVal4Type(const OUString& sValue, sal_Int32 nProp , CacheItem& rItem ) @@ -2093,7 +2069,6 @@ void FilterCache::impl_interpretDataVal4Type(const OUString& sValue, } - void FilterCache::impl_interpretDataVal4Filter(const OUString& sValue, sal_Int32 nProp , CacheItem& rItem ) @@ -2242,7 +2217,6 @@ CacheItem FilterCache::impl_readOldItem(const css::uno::Reference< css::containe } - OUStringList FilterCache::impl_tokenizeString(const OUString& sData , sal_Unicode cSeparator) { @@ -2280,7 +2254,6 @@ OUString FilterCache::impl_searchFrameLoaderForType(const OUString& sType) const } - OUString FilterCache::impl_searchContentHandlerForType(const OUString& sType) const { CacheItemList::const_iterator pIt; @@ -2301,7 +2274,6 @@ OUString FilterCache::impl_searchContentHandlerForType(const OUString& sType) co #endif - bool FilterCache::impl_isModuleInstalled(const OUString& sModule) { css::uno::Reference< css::container::XNameAccess > xCfg; diff --git a/filter/source/config/cache/filtercache.hxx b/filter/source/config/cache/filtercache.hxx index aa8b50b27c6b..93c8d78e07a8 100644 --- a/filter/source/config/cache/filtercache.hxx +++ b/filter/source/config/cache/filtercache.hxx @@ -42,8 +42,6 @@ namespace filter{ class CacheUpdateListener; - - /** @short implements a cache, which contains all elements of our filter and type detection configuration. @@ -68,7 +66,6 @@ class FilterCache : public BaseLock public: - /** @short identify the type of a container item. @descr Because the cache interface is a generic one @@ -83,7 +80,6 @@ class FilterCache : public BaseLock }; - /** @short indicates, which items already exists inside this cache and which not. @@ -274,13 +270,11 @@ class FilterCache : public BaseLock FilterCache(); - /** @short standard dtor. */ ~FilterCache(); - /** @short creates a copy of this container. @descr Such copy can be used then to modify items (add/change/remove) @@ -305,13 +299,11 @@ class FilterCache : public BaseLock FilterCache* clone() const; - /** @short copy the cache content or rClone back to this instance. */ void takeOver(const FilterCache& rClone); - /** @short force special fill state of this cache. @descr This method checks, if all requested items/properties already @@ -331,7 +323,6 @@ class FilterCache : public BaseLock throw(css::uno::Exception); - /** @short return the current fill state of this cache. @descr This information can be used e.g. to start @@ -347,7 +338,6 @@ class FilterCache : public BaseLock throw(css::uno::Exception); - /** @short return a list of key names for items, which match the specified criteria. @@ -385,7 +375,6 @@ class FilterCache : public BaseLock throw(css::uno::Exception); - /** @short indicates if the requested sub container contains some items. @@ -411,7 +400,6 @@ class FilterCache : public BaseLock throw(css::uno::Exception); - /** @short return a list of all key names, which represent an item inside the specified sub container. @@ -436,7 +424,6 @@ class FilterCache : public BaseLock throw(css::uno::Exception); - /** @short check if the required item exist inside this container. @attention This method exists to supports some UNO container interfaces @@ -461,7 +448,6 @@ class FilterCache : public BaseLock throw(css::uno::Exception); - /** @short return an item, which match the specified type and name. @descr Because this cache can be used inside multithreaded environments @@ -491,7 +477,6 @@ class FilterCache : public BaseLock throw(css::uno::Exception); - /** TODO document me ... */ void removeItem( EItemType eType, @@ -499,7 +484,6 @@ class FilterCache : public BaseLock throw(css::uno::Exception); - /** TODO document me ... */ void setItem( EItemType eType , @@ -508,7 +492,6 @@ class FilterCache : public BaseLock throw(css::uno::Exception, std::exception); - /** TODO document me ... */ void refreshItem( EItemType eType, @@ -516,7 +499,6 @@ class FilterCache : public BaseLock throw(css::uno::Exception); - /** @short add some implicit properties to the given cache item reference. @@ -558,14 +540,12 @@ class FilterCache : public BaseLock throw(css::uno::Exception); - /** TODO document me */ static void removeStatePropsFromItem(CacheItem& aValue) throw(css::uno::Exception); - /** @short force writing of all changes (which was made after last flush was called) back to the configuration. @@ -579,7 +559,6 @@ class FilterCache : public BaseLock throw(css::uno::Exception); - /** @short supports a flat type detection for given URL. @descr Because such detection works on our optimized internal @@ -616,7 +595,6 @@ class FilterCache : public BaseLock private: - /** @short return a reference to one of our internal sub container, which contains items of the requested type. @@ -635,7 +613,6 @@ class FilterCache : public BaseLock CacheItemList& impl_getItemList(EItemType eType); - /** @short return a valid configuration update access to the underlying configuration package, which is fix for this cache. @@ -657,7 +634,6 @@ class FilterCache : public BaseLock throw(css::uno::Exception); - /** @short tries to open the requested configuration root using the specified modi. @@ -681,7 +657,6 @@ class FilterCache : public BaseLock bool bLocalesMode); - /** @short reads the specified configuration key and return its value. @@ -704,7 +679,6 @@ class FilterCache : public BaseLock css::uno::Any impl_getDirectCFGValue(const OUString& sDirectKey); - /** @short load the underlying configuration into this cache. @descr Which items should be readed can be regulate by the @@ -719,7 +693,6 @@ class FilterCache : public BaseLock throw(css::uno::Exception); - /** @short validate the whole cache and create structures for optimized items access. @@ -742,7 +715,6 @@ class FilterCache : public BaseLock private: - /** @short read the specified config set into the cache. @descr This method provides the following mechanism for reading: @@ -775,7 +747,6 @@ class FilterCache : public BaseLock throw(css::uno::Exception); - /** @short read the specified container item from the given configuration set. @descr Its not added to any internal structures here. That must be done @@ -805,7 +776,6 @@ class FilterCache : public BaseLock throw(css::uno::Exception); - /** @short try to load the requested item on demand from the underlying configuration layer. @@ -836,7 +806,6 @@ class FilterCache : public BaseLock throw(css::uno::Exception); - /** TODO */ static void impl_saveItem(const css::uno::Reference< css::container::XNameReplace >& xSet , EItemType eType , @@ -844,15 +813,12 @@ class FilterCache : public BaseLock throw(css::uno::Exception); - /** TODO */ void impl_addItem2FlushList( EItemType eType, const OUString& sItem) throw(css::uno::Exception); - - /** TODO */ static void impl_flushByList(const css::uno::Reference< css::container::XNameAccess >& xSet , EItemType eType , @@ -894,14 +860,12 @@ class FilterCache : public BaseLock throw(css::uno::Exception); - /** TODO */ void impl_readPatchUINames(const css::uno::Reference< css::container::XNameAccess >& xNode, CacheItem& rItem) throw(css::uno::Exception); - /** TODO */ static void impl_savePatchUINames(const css::uno::Reference< css::container::XNameReplace >& xNode, const CacheItem& rItem) @@ -917,27 +881,23 @@ class FilterCache : public BaseLock throw(css::uno::Exception); - /** TODO */ static void impl_interpretDataVal4Type(const OUString& sValue, sal_Int32 nProp , CacheItem& rItem ); - /** TODO */ static void impl_interpretDataVal4Filter(const OUString& sValue, sal_Int32 nProp , CacheItem& rItem ); - /** TODO */ static OUStringList impl_tokenizeString(const OUString& sData , sal_Unicode cSeparator); - #if OSL_DEBUG_LEVEL > 0 /** TODO */ OUString impl_searchFrameLoaderForType(const OUString& sType) const; @@ -955,7 +915,6 @@ class FilterCache : public BaseLock bool impl_isModuleInstalled(const OUString& sModule); - /** @short convert a list of flag names to its int representation. @param lNames @@ -966,7 +925,6 @@ class FilterCache : public BaseLock static SfxFilterFlags impl_convertFlagNames2FlagField(const css::uno::Sequence< OUString >& lNames); - /** @short convert a flag field value to its list representation of flag names. @param nFlags diff --git a/filter/source/config/cache/filterfactory.cxx b/filter/source/config/cache/filterfactory.cxx index 1b08d00b7474..4381264b37bf 100644 --- a/filter/source/config/cache/filterfactory.cxx +++ b/filter/source/config/cache/filterfactory.cxx @@ -61,13 +61,11 @@ FilterFactory::FilterFactory(const css::uno::Reference< css::uno::XComponentCont } - FilterFactory::~FilterFactory() { } - css::uno::Reference< css::uno::XInterface > SAL_CALL FilterFactory::createInstance(const OUString& sFilter) throw(css::uno::Exception , css::uno::RuntimeException, std::exception) @@ -76,7 +74,6 @@ css::uno::Reference< css::uno::XInterface > SAL_CALL FilterFactory::createInstan } - css::uno::Reference< css::uno::XInterface > SAL_CALL FilterFactory::createInstanceWithArguments(const OUString& sFilter , const css::uno::Sequence< css::uno::Any >& lArguments) throw(css::uno::Exception , @@ -154,7 +151,6 @@ css::uno::Reference< css::uno::XInterface > SAL_CALL FilterFactory::createInstan } - css::uno::Sequence< OUString > SAL_CALL FilterFactory::getAvailableServiceNames() throw(css::uno::RuntimeException, std::exception) { @@ -182,7 +178,6 @@ css::uno::Sequence< OUString > SAL_CALL FilterFactory::getAvailableServiceNames( } - css::uno::Reference< css::container::XEnumeration > SAL_CALL FilterFactory::createSubSetEnumerationByQuery(const OUString& sQuery) throw (css::uno::RuntimeException, std::exception) { @@ -238,7 +233,6 @@ css::uno::Reference< css::container::XEnumeration > SAL_CALL FilterFactory::crea } - OUStringList FilterFactory::impl_queryMatchByDocumentService(const QueryTokenizer& lTokens) const { // analyze query @@ -372,7 +366,6 @@ OUStringList FilterFactory::impl_queryMatchByDocumentService(const QueryTokenize } - class stlcomp_removeIfMatchFlags { private: @@ -414,7 +407,6 @@ class stlcomp_removeIfMatchFlags }; - OUStringList FilterFactory::impl_getSortedFilterList(const QueryTokenizer& lTokens) const { // analyze the given query parameter @@ -465,7 +457,6 @@ OUStringList FilterFactory::impl_getSortedFilterList(const QueryTokenizer& lToke } - OUStringList FilterFactory::impl_getListOfInstalledModules() const { // SAFE -> ---------------------- @@ -480,7 +471,6 @@ OUStringList FilterFactory::impl_getListOfInstalledModules() const } - OUStringList FilterFactory::impl_getSortedFilterListForModule(const OUString& sModule, sal_Int32 nIFlags, sal_Int32 nEFlags) const @@ -535,7 +525,6 @@ OUStringList FilterFactory::impl_getSortedFilterListForModule(const OUString& sM } - OUStringList FilterFactory::impl_readSortedFilterListFromConfig(const OUString& sModule) const { // SAFE -> ---------------------- @@ -570,21 +559,18 @@ OUStringList FilterFactory::impl_readSortedFilterListFromConfig(const OUString& } - OUString FilterFactory::impl_getImplementationName() { return OUString( "com.sun.star.comp.filter.config.FilterFactory" ); } - css::uno::Sequence< OUString > FilterFactory::impl_getSupportedServiceNames() { return { "com.sun.star.document.FilterFactory" }; } - css::uno::Reference< css::uno::XInterface > SAL_CALL FilterFactory::impl_createInstance(const css::uno::Reference< css::lang::XMultiServiceFactory >& xSMGR) { FilterFactory* pNew = new FilterFactory( comphelper::getComponentContext(xSMGR) ); diff --git a/filter/source/config/cache/filterfactory.hxx b/filter/source/config/cache/filterfactory.hxx index 8125bda72cac..0e9f7d8ef50f 100644 --- a/filter/source/config/cache/filterfactory.hxx +++ b/filter/source/config/cache/filterfactory.hxx @@ -31,8 +31,6 @@ namespace filter{ namespace config{ - - /** @short implements the service <type scope="com.sun.star.document">FilterFactory</type>. */ class FilterFactory : public ::cppu::ImplInheritanceHelper< BaseContainer , @@ -57,7 +55,6 @@ class FilterFactory : public ::cppu::ImplInheritanceHelper< BaseContainer explicit FilterFactory(const css::uno::Reference< css::uno::XComponentContext >& rxContext); - /** @short standard dtor. */ virtual ~FilterFactory(); @@ -94,7 +91,6 @@ class FilterFactory : public ::cppu::ImplInheritanceHelper< BaseContainer private: - /** @short implement the container string query: "matchByDocumentService=:iflags=:eflags=:..." @param lTokens @@ -106,13 +102,11 @@ class FilterFactory : public ::cppu::ImplInheritanceHelper< BaseContainer OUStringList impl_queryMatchByDocumentService(const QueryTokenizer& lTokens) const; - /** TODO document me */ OUStringList impl_getListOfInstalledModules() const; - /** @short implement the container string query: "getSortedFilterList()[:module=<xxx>]:[iflags=<xxx>][:eflags=<xxx>]" @@ -125,7 +119,6 @@ class FilterFactory : public ::cppu::ImplInheritanceHelper< BaseContainer OUStringList impl_getSortedFilterList(const QueryTokenizer& lTokens) const; - /** TODO document me */ OUStringList impl_getSortedFilterListForModule(const OUString& sModule, @@ -133,7 +126,6 @@ class FilterFactory : public ::cppu::ImplInheritanceHelper< BaseContainer sal_Int32 nEFlags) const; - /** @short read a specialized and sorted list of filter names from the configuration (matching the specified module) @@ -151,7 +143,6 @@ class FilterFactory : public ::cppu::ImplInheritanceHelper< BaseContainer public: - /** @short return the uno implementation name of this class. @descr Because this information is used at several places @@ -163,7 +154,6 @@ class FilterFactory : public ::cppu::ImplInheritanceHelper< BaseContainer static OUString impl_getImplementationName(); - /** @short return the list of supported uno services of this class. @descr Because this information is used at several places @@ -175,7 +165,6 @@ class FilterFactory : public ::cppu::ImplInheritanceHelper< BaseContainer static css::uno::Sequence< OUString > impl_getSupportedServiceNames(); - /** @short return a new intsnace of this class. @descr This method is used by the uno service manager, to create diff --git a/filter/source/config/cache/frameloaderfactory.cxx b/filter/source/config/cache/frameloaderfactory.cxx index bf422393f5c8..0baf60160f9d 100644 --- a/filter/source/config/cache/frameloaderfactory.cxx +++ b/filter/source/config/cache/frameloaderfactory.cxx @@ -42,13 +42,11 @@ FrameLoaderFactory::FrameLoaderFactory(const css::uno::Reference< css::uno::XCom } - FrameLoaderFactory::~FrameLoaderFactory() { } - css::uno::Reference< css::uno::XInterface > SAL_CALL FrameLoaderFactory::createInstance(const OUString& sLoader) throw(css::uno::Exception , css::uno::RuntimeException, std::exception) @@ -57,7 +55,6 @@ css::uno::Reference< css::uno::XInterface > SAL_CALL FrameLoaderFactory::createI } - css::uno::Reference< css::uno::XInterface > SAL_CALL FrameLoaderFactory::createInstanceWithArguments(const OUString& sLoader , const css::uno::Sequence< css::uno::Any >& lArguments) throw(css::uno::Exception , @@ -132,7 +129,6 @@ css::uno::Reference< css::uno::XInterface > SAL_CALL FrameLoaderFactory::createI } - css::uno::Sequence< OUString > SAL_CALL FrameLoaderFactory::getAvailableServiceNames() throw(css::uno::RuntimeException, std::exception) { @@ -141,21 +137,18 @@ css::uno::Sequence< OUString > SAL_CALL FrameLoaderFactory::getAvailableServiceN } - OUString FrameLoaderFactory::impl_getImplementationName() { return OUString( "com.sun.star.comp.filter.config.FrameLoaderFactory" ); } - css::uno::Sequence< OUString > FrameLoaderFactory::impl_getSupportedServiceNames() { return { "com.sun.star.frame.FrameLoaderFactory" }; } - css::uno::Reference< css::uno::XInterface > SAL_CALL FrameLoaderFactory::impl_createInstance(const css::uno::Reference< css::lang::XMultiServiceFactory >& xSMGR) { FrameLoaderFactory* pNew = new FrameLoaderFactory( comphelper::getComponentContext(xSMGR) ); diff --git a/filter/source/config/cache/frameloaderfactory.hxx b/filter/source/config/cache/frameloaderfactory.hxx index c9c4cd30b0d5..eb7e506eb7d6 100644 --- a/filter/source/config/cache/frameloaderfactory.hxx +++ b/filter/source/config/cache/frameloaderfactory.hxx @@ -30,8 +30,6 @@ namespace filter{ namespace config{ - - /** @short implements the service <type scope="com.sun.star.document">FrameLoaderFactory</type>. */ class FrameLoaderFactory : public ::cppu::ImplInheritanceHelper< BaseContainer , @@ -56,7 +54,6 @@ class FrameLoaderFactory : public ::cppu::ImplInheritanceHelper< BaseContainer explicit FrameLoaderFactory(const css::uno::Reference< css::uno::XComponentContext >& rxContext); - /** @short standard dtor. */ virtual ~FrameLoaderFactory(); @@ -87,7 +84,6 @@ class FrameLoaderFactory : public ::cppu::ImplInheritanceHelper< BaseContainer public: - /** @short return the uno implementation name of this class. @descr Because this information is used at several places @@ -99,7 +95,6 @@ class FrameLoaderFactory : public ::cppu::ImplInheritanceHelper< BaseContainer static OUString impl_getImplementationName(); - /** @short return the list of supported uno services of this class. @descr Because this information is used at several places @@ -111,7 +106,6 @@ class FrameLoaderFactory : public ::cppu::ImplInheritanceHelper< BaseContainer static css::uno::Sequence< OUString > impl_getSupportedServiceNames(); - /** @short return a new intsnace of this class. @descr This method is used by the uno service manager, to create diff --git a/filter/source/config/cache/querytokenizer.cxx b/filter/source/config/cache/querytokenizer.cxx index 4dea850765a7..84ec1ba60bff 100644 --- a/filter/source/config/cache/querytokenizer.cxx +++ b/filter/source/config/cache/querytokenizer.cxx @@ -26,8 +26,6 @@ namespace filter{ namespace config{ - - QueryTokenizer::QueryTokenizer(const OUString& sQuery) : m_bValid(true) { @@ -63,14 +61,12 @@ QueryTokenizer::QueryTokenizer(const OUString& sQuery) } - QueryTokenizer::~QueryTokenizer() { /*TODO*/ } - bool QueryTokenizer::valid() const { return m_bValid; diff --git a/filter/source/config/cache/querytokenizer.hxx b/filter/source/config/cache/querytokenizer.hxx index 6ddf8dd1b28d..9a25efa53915 100644 --- a/filter/source/config/cache/querytokenizer.hxx +++ b/filter/source/config/cache/querytokenizer.hxx @@ -81,13 +81,11 @@ class QueryTokenizer : public std::unordered_map< OUString , explicit QueryTokenizer(const OUString& sQuery); - /** @short destruct an instance of this class. */ virtual ~QueryTokenizer(); - /** @short can be used to check if analyzing of given query was successfully or not. */ diff --git a/filter/source/config/cache/typedetection.cxx b/filter/source/config/cache/typedetection.cxx index 1170b792a967..5c8466f3c0fe 100644 --- a/filter/source/config/cache/typedetection.cxx +++ b/filter/source/config/cache/typedetection.cxx @@ -58,13 +58,11 @@ TypeDetection::TypeDetection(const css::uno::Reference< css::uno::XComponentCont } - TypeDetection::~TypeDetection() { } - OUString SAL_CALL TypeDetection::queryTypeByURL(const OUString& sURL) throw (css::uno::RuntimeException, std::exception) { @@ -468,7 +466,6 @@ OUString SAL_CALL TypeDetection::queryTypeByDescriptor(css::uno::Sequence< css:: } - void TypeDetection::impl_checkResultsAndAddBestFilter(utl::MediaDescriptor& rDescriptor, OUString& sType ) { @@ -629,7 +626,6 @@ void TypeDetection::impl_checkResultsAndAddBestFilter(utl::MediaDescriptor& rDes } - bool TypeDetection::impl_getPreselectionForType( const OUString& sPreSelType, const util::URL& aParsedURL, FlatDetection& rFlatTypes, bool bDocService) { @@ -875,7 +871,6 @@ void TypeDetection::impl_getAllFormatTypes( } - OUString TypeDetection::impl_detectTypeFlatAndDeep( utl::MediaDescriptor& rDescriptor , const FlatDetection& lFlatTypes , bool bAllowDeep , @@ -1073,7 +1068,6 @@ OUString TypeDetection::impl_askDetectService(const OUString& sDet } - OUString TypeDetection::impl_askUserForTypeAndFilterIfAllowed(utl::MediaDescriptor& rDescriptor) { css::uno::Reference< css::task::XInteractionHandler > xInteraction = @@ -1134,7 +1128,6 @@ OUString TypeDetection::impl_askUserForTypeAndFilterIfAllowed(utl::MediaDescript } - void TypeDetection::impl_openStream(utl::MediaDescriptor& rDescriptor) throw (css::uno::Exception) { @@ -1165,7 +1158,6 @@ void TypeDetection::impl_openStream(utl::MediaDescriptor& rDescriptor) } - void TypeDetection::impl_removeTypeFilterFromDescriptor(utl::MediaDescriptor& rDescriptor) { utl::MediaDescriptor::iterator pItType = rDescriptor.find(utl::MediaDescriptor::PROP_TYPENAME() ); @@ -1177,7 +1169,6 @@ void TypeDetection::impl_removeTypeFilterFromDescriptor(utl::MediaDescriptor& rD } - bool TypeDetection::impl_validateAndSetTypeOnDescriptor( utl::MediaDescriptor& rDescriptor, const OUString& sType ) { @@ -1197,7 +1188,6 @@ bool TypeDetection::impl_validateAndSetTypeOnDescriptor( utl::MediaDescript } - bool TypeDetection::impl_validateAndSetFilterOnDescriptor( utl::MediaDescriptor& rDescriptor, const OUString& sFilter ) { @@ -1228,21 +1218,18 @@ bool TypeDetection::impl_validateAndSetFilterOnDescriptor( utl::MediaDescri } - OUString TypeDetection::impl_getImplementationName() { return OUString( "com.sun.star.comp.filter.config.TypeDetection" ); } - css::uno::Sequence< OUString > TypeDetection::impl_getSupportedServiceNames() { return { "com.sun.star.document.TypeDetection" }; } - css::uno::Reference< css::uno::XInterface > SAL_CALL TypeDetection::impl_createInstance(const css::uno::Reference< css::lang::XMultiServiceFactory >& xSMGR) { TypeDetection* pNew = new TypeDetection( comphelper::getComponentContext(xSMGR) ); diff --git a/filter/source/config/cache/typedetection.hxx b/filter/source/config/cache/typedetection.hxx index def8863c5e36..af9f692a8ca1 100644 --- a/filter/source/config/cache/typedetection.hxx +++ b/filter/source/config/cache/typedetection.hxx @@ -30,8 +30,6 @@ namespace filter{ namespace config { - - /** @short implements the service <type scope="com.sun.star.document">TypeDetection</type>. */ class TypeDetection : public ::cppu::ImplInheritanceHelper< BaseContainer , @@ -56,7 +54,6 @@ public: explicit TypeDetection(const css::uno::Reference< css::uno::XComponentContext >& rxContext); - /** @short standard dtor. */ virtual ~TypeDetection(); @@ -82,7 +79,6 @@ private: FlatDetection& rFlatTypes); - /** @short make a combined flat/deep type detection @descr It steps over all flat detected types (given by the parameter lFlatTypes), @@ -134,7 +130,6 @@ private: OUString& rLastChance ); - /** @short seek a might existing stream to position 0. @descr This is an optinal action to be more robust @@ -148,7 +143,6 @@ private: static void impl_seekStreamToZero(utl::MediaDescriptor& rDescriptor); - /** @short make deep type detection for a specified detect service (threadsafe!). @@ -170,7 +164,6 @@ private: utl::MediaDescriptor& rDescriptor ); - /** @short try to find an interaction handler and ask him to select a possible filter for this unknown format. @@ -187,7 +180,6 @@ private: OUString impl_askUserForTypeAndFilterIfAllowed(utl::MediaDescriptor& rDescriptor); - /** @short check if an input stream is already part of the given MediaDesciptor and creates a new one if necessary. @@ -225,7 +217,6 @@ private: throw (css::uno::Exception); - /** @short validate the specified type and its relationships and set all needed information related to this type in the specified descriptor. @@ -248,7 +239,6 @@ private: const OUString& sType ); - /** @short validate the specified filter and its relationships and set all needed information related to this filter in the specified descriptor. @@ -270,7 +260,6 @@ private: const OUString& sFilter ); - /** @short remove anything related to a TYPE/FILTER entry from the specified MediaDescriptor. @@ -285,7 +274,6 @@ private: static void impl_removeTypeFilterFromDescriptor(utl::MediaDescriptor& rDescriptor); - /** @short search the best suitable filter for the given type and add it into the media descriptor. @@ -340,7 +328,6 @@ public: public: - /** @short return the uno implementation name of this class. @descr Because this information is used at several places @@ -352,7 +339,6 @@ public: static OUString impl_getImplementationName(); - /** @short return the list of supported uno services of this class. @descr Because this information is used at several places @@ -364,7 +350,6 @@ public: static css::uno::Sequence< OUString > impl_getSupportedServiceNames(); - /** @short return a new intsnace of this class. @descr This method is used by the uno service manager, to create diff --git a/filter/source/config/cache/versions.hxx b/filter/source/config/cache/versions.hxx index 2c0f9111283d..d6728330657a 100644 --- a/filter/source/config/cache/versions.hxx +++ b/filter/source/config/cache/versions.hxx @@ -21,7 +21,6 @@ #define INCLUDED_FILTER_SOURCE_CONFIG_CACHE_VERSIONS_HXX - #define _FILTER_CONFIG_MIGRATION_Q_ // useful for migration time, to support some old functionality temp. :-) #endif // INCLUDED_FILTER_SOURCE_CONFIG_CACHE_VERSIONS_HXX |