diff options
Diffstat (limited to 'filter/source/config')
-rw-r--r-- | filter/source/config/cache/basecontainer.hxx | 2 | ||||
-rw-r--r-- | filter/source/config/cache/filtercache.cxx | 20 | ||||
-rw-r--r-- | filter/source/config/cache/filtercache.hxx | 2 | ||||
-rw-r--r-- | filter/source/config/cache/filterfactory.cxx | 4 |
4 files changed, 14 insertions, 14 deletions
diff --git a/filter/source/config/cache/basecontainer.hxx b/filter/source/config/cache/basecontainer.hxx index 75097f6abb85..0182ef0882cb 100644 --- a/filter/source/config/cache/basecontainer.hxx +++ b/filter/source/config/cache/basecontainer.hxx @@ -77,7 +77,7 @@ class BaseContainer : public BaseLock /** @short local filter cache, which is used to collect changes on the filter configuration first and flush it later. - @descr Normally this member isn't used nor initialized. Thats true, + @descr Normally this member isn't used nor initialized. That's true, if this container is used for reading only. The first write access (e.g. by calling insertByName()) creates a copy of the current global cache m_rCache to initialize the m_pFlushCache member. diff --git a/filter/source/config/cache/filtercache.cxx b/filter/source/config/cache/filtercache.cxx index 180a853def6a..6b97bda29bb2 100644 --- a/filter/source/config/cache/filtercache.cxx +++ b/filter/source/config/cache/filtercache.cxx @@ -626,7 +626,7 @@ void FilterCache::impl_flushByList(const css::uno::Reference< css::container::XN css::uno::Reference< css::container::XNameReplace > xItem (xFactory->createInstance(), css::uno::UNO_QUERY); // special case. no exception - but not a valid item => set must be finalized or mandatory! - // Reject flush operation by throwing an exception. At least one item couldnt be flushed. + // Reject flush operation by throwing an exception. At least one item couldn't be flushed. if (!xItem.is()) throw css::uno::Exception("Can not add item. Set is finalized or mandatory!", css::uno::Reference< css::uno::XInterface >()); @@ -643,7 +643,7 @@ void FilterCache::impl_flushByList(const css::uno::Reference< css::container::XN xSet->getByName(sItem) >>= xItem; // special case. no exception - but not a valid item => it must be finalized or mandatory! - // Reject flush operation by throwing an exception. At least one item couldnt be flushed. + // Reject flush operation by throwing an exception. At least one item couldn't be flushed. if (!xItem.is()) throw css::uno::Exception("Can not change item. Its finalized or mandatory!", css::uno::Reference< css::uno::XInterface >()); @@ -1077,10 +1077,10 @@ void FilterCache::impl_validateAndOptimize() aType[PROPNAME_PREFERREDFILTER] >>= sPrefFilter; if (sPrefFilter.isEmpty()) { - // OK - there is no filter for this type. But thats not an error. - // May be it can be handled by a ContentHandler ... + // OK - there is no filter for this type. But that's not an error. + // Maybe it can be handled by a ContentHandler... // But at this time it's not guaranteed that there is any ContentHandler - // or FrameLoader inside this cache ... but on disk ... + // or FrameLoader inside this cache... but on disk... bool bReferencedByLoader = true; bool bReferencedByHandler = true; if (bAllLoadersShouldExist) @@ -1283,7 +1283,7 @@ void FilterCache::impl_load(EFillState eRequiredState) ((m_eFillState & E_CONTAINS_STANDARD) != E_CONTAINS_STANDARD) ) { - // Attention! If config couldnt be opened successfully + // Attention! If config couldn't be opened successfully // and exception os thrown automatically and must be forwarded // to our calli ... css::uno::Reference< css::container::XNameAccess > xTypes(impl_openConfig(E_PROVIDER_TYPES), css::uno::UNO_QUERY_THROW); @@ -1300,7 +1300,7 @@ void FilterCache::impl_load(EFillState eRequiredState) ((m_eFillState & E_CONTAINS_TYPES) != E_CONTAINS_TYPES) ) { - // Attention! If config couldnt be opened successfully + // Attention! If config couldn't be opened successfully // and exception os thrown automatically and must be forwarded // to our calli ... css::uno::Reference< css::container::XNameAccess > xTypes(impl_openConfig(E_PROVIDER_TYPES), css::uno::UNO_QUERY_THROW); @@ -1317,7 +1317,7 @@ void FilterCache::impl_load(EFillState eRequiredState) ((m_eFillState & E_CONTAINS_FILTERS) != E_CONTAINS_FILTERS) ) { - // Attention! If config couldnt be opened successfully + // Attention! If config couldn't be opened successfully // and exception os thrown automatically and must be forwarded // to our calli ... css::uno::Reference< css::container::XNameAccess > xFilters(impl_openConfig(E_PROVIDER_FILTERS), css::uno::UNO_QUERY_THROW); @@ -1334,7 +1334,7 @@ void FilterCache::impl_load(EFillState eRequiredState) ((m_eFillState & E_CONTAINS_FRAMELOADERS) != E_CONTAINS_FRAMELOADERS) ) { - // Attention! If config couldnt be opened successfully + // Attention! If config couldn't be opened successfully // and exception os thrown automatically and must be forwarded // to our calli ... css::uno::Reference< css::container::XNameAccess > xLoaders(impl_openConfig(E_PROVIDER_OTHERS), css::uno::UNO_QUERY_THROW); @@ -1351,7 +1351,7 @@ void FilterCache::impl_load(EFillState eRequiredState) ((m_eFillState & E_CONTAINS_CONTENTHANDLERS) != E_CONTAINS_CONTENTHANDLERS) ) { - // Attention! If config couldnt be opened successfully + // Attention! If config couldn't be opened successfully // and exception os thrown automatically and must be forwarded // to our calli ... css::uno::Reference< css::container::XNameAccess > xHandlers(impl_openConfig(E_PROVIDER_OTHERS), css::uno::UNO_QUERY_THROW); diff --git a/filter/source/config/cache/filtercache.hxx b/filter/source/config/cache/filtercache.hxx index a5dbfb3016a1..8fab54e085c1 100644 --- a/filter/source/config/cache/filtercache.hxx +++ b/filter/source/config/cache/filtercache.hxx @@ -92,7 +92,7 @@ class FilterCache : public BaseLock the first document. After this first document was loaded successfully, a special "load-on-demand-thread" will be started to fill this cache with ALL other information, which was not readed before. - Thats the second step. All operations on top of this cache will be + That's the second step. All operations on top of this cache will be blocked then. */ enum EFillState diff --git a/filter/source/config/cache/filterfactory.cxx b/filter/source/config/cache/filterfactory.cxx index cbfd0c1d9e2f..ea743e08f865 100644 --- a/filter/source/config/cache/filterfactory.cxx +++ b/filter/source/config/cache/filterfactory.cxx @@ -148,10 +148,10 @@ css::uno::Reference< css::uno::XInterface > SAL_CALL FilterFactory::createInstan css::uno::Sequence< OUString > SAL_CALL FilterFactory::getAvailableServiceNames() { /* Attention: Instead of getElementNames() this method have to return only filter names, - which can be created as UNO Services really. Thats why we search for filters, + which can be created as UNO Services really. That's why we search for filters, which don't have a valid value for the property "FilterService". Of course we can't check for corrupted service names here. We can check - for empty strings only ... + for empty strings only... */ CacheItem lIProps; CacheItem lEProps; |