summaryrefslogtreecommitdiff
path: root/filter/source/config/cache
diff options
context:
space:
mode:
Diffstat (limited to 'filter/source/config/cache')
-rw-r--r--filter/source/config/cache/basecontainer.cxx4
-rw-r--r--filter/source/config/cache/filtercache.cxx14
-rw-r--r--filter/source/config/cache/filtercache.hxx2
-rw-r--r--filter/source/config/cache/typedetection.cxx2
-rw-r--r--filter/source/config/cache/typedetection.hxx2
5 files changed, 12 insertions, 12 deletions
diff --git a/filter/source/config/cache/basecontainer.cxx b/filter/source/config/cache/basecontainer.cxx
index cbf6e4685a67..e34b71d03522 100644
--- a/filter/source/config/cache/basecontainer.cxx
+++ b/filter/source/config/cache/basecontainer.cxx
@@ -128,7 +128,7 @@ void BaseContainer::impl_initFlushMode()
if (!m_pFlushCache)
m_pFlushCache = m_rCache->clone();
if (!m_pFlushCache)
- throw css::uno::RuntimeException( "Cant create write copy of internal used cache on demand.",
+ throw css::uno::RuntimeException( "Can not create write copy of internal used cache on demand.",
static_cast< OWeakObject* >(this));
// <- SAFE
}
@@ -484,7 +484,7 @@ void SAL_CALL BaseContainer::flush()
if (!m_pFlushCache)
throw css::lang::WrappedTargetRuntimeException(
- "Cant guarantee cache consistency. Special flush container does not exists!",
+ "Can not guarantee cache consistency. Special flush container does not exists!",
static_cast< OWeakObject* >(this),
css::uno::Any());
diff --git a/filter/source/config/cache/filtercache.cxx b/filter/source/config/cache/filtercache.cxx
index 2fc5cfb4935f..a1c37c5bc996 100644
--- a/filter/source/config/cache/filtercache.cxx
+++ b/filter/source/config/cache/filtercache.cxx
@@ -661,7 +661,7 @@ void FilterCache::impl_flushByList(const css::uno::Reference< css::container::XN
// 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.
if (!xItem.is())
- throw css::uno::Exception("Cant add item. Set is finalized or mandatory!",
+ throw css::uno::Exception("Can not add item. Set is finalized or mandatory!",
css::uno::Reference< css::uno::XInterface >());
CacheItemList::const_iterator pItem = rCache.find(sItem);
@@ -678,7 +678,7 @@ void FilterCache::impl_flushByList(const css::uno::Reference< css::container::XN
// 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.
if (!xItem.is())
- throw css::uno::Exception("Cant change item. Its finalized or mandatory!",
+ throw css::uno::Exception("Can not change item. Its finalized or mandatory!",
css::uno::Reference< css::uno::XInterface >());
CacheItemList::const_iterator pItem = rCache.find(sItem);
@@ -847,7 +847,7 @@ css::uno::Reference< css::uno::XInterface > FilterCache::impl_openConfig(EConfig
}
break;
- default : throw css::uno::Exception("These configuration node isnt supported here for open!", 0);
+ default : throw css::uno::Exception("These configuration node is not supported here for open!", 0);
}
{
@@ -1138,7 +1138,7 @@ void FilterCache::impl_validateAndOptimize()
(!bReferencedByHandler)
)
{
- sLog.append("Warning\t:\t" "The type \"" + sType + "\" isnt used by any filter, loader or content handler.\n");
+ sLog.append("Warning\t:\t" "The type \"" + sType + "\" is not used by any filter, loader or content handler.\n");
++nWarnings;
}
}
@@ -2124,7 +2124,7 @@ void FilterCache::impl_interpretDataVal4Filter(const OUString& sValue,
sal_Int32 nOrder = sValue.toInt32();
if (nOrder > 0)
{
- SAL_WARN( "filter.config", "FilterCache::impl_interpretDataVal4Filter()\nCant move Order value from filter to type on demand!");
+ SAL_WARN( "filter.config", "FilterCache::impl_interpretDataVal4Filter()\nCan not move Order value from filter to type on demand!");
_FILTER_CONFIG_LOG_2_("impl_interpretDataVal4Filter(%d, \"%s\") ... OK", (int)eType, _FILTER_CONFIG_TO_ASCII_(rItem).getStr())
}
}
@@ -2216,7 +2216,7 @@ CacheItem FilterCache::impl_readOldItem(const css::uno::Reference< css::containe
css::uno::Reference< css::container::XNameAccess > xItem;
xSet->getByName(sItem) >>= xItem;
if (!xItem.is())
- throw css::uno::Exception("Cant read old item.", css::uno::Reference< css::uno::XInterface >());
+ throw css::uno::Exception("Can not read old item.", css::uno::Reference< css::uno::XInterface >());
CacheItem aItem;
aItem[PROPNAME_NAME] <<= sItem;
@@ -2237,7 +2237,7 @@ CacheItem FilterCache::impl_readOldItem(const css::uno::Reference< css::containe
(lData.size()<1 )
)
{
- throw css::uno::Exception( "Cant read old item property DATA.", css::uno::Reference< css::uno::XInterface >());
+ throw css::uno::Exception( "Can not read old item property DATA.", css::uno::Reference< css::uno::XInterface >());
}
sal_Int32 nProp = 0;
diff --git a/filter/source/config/cache/filtercache.hxx b/filter/source/config/cache/filtercache.hxx
index c992424b591f..883ced96e553 100644
--- a/filter/source/config/cache/filtercache.hxx
+++ b/filter/source/config/cache/filtercache.hxx
@@ -791,7 +791,7 @@ class FilterCache : public BaseLock
@param eOption
regulate, which properties of the requested item should be read.
- See defintion of EReadOption for further information.
+ See definition of EReadOption for further information.
@throw [css::uno::Exception]
if an unrecoverable error occurs inside this operation.
diff --git a/filter/source/config/cache/typedetection.cxx b/filter/source/config/cache/typedetection.cxx
index 370f7cf980d3..4919fbaa1372 100644
--- a/filter/source/config/cache/typedetection.cxx
+++ b/filter/source/config/cache/typedetection.cxx
@@ -1089,7 +1089,7 @@ OUString TypeDetection::impl_askUserForTypeAndFilterIfAllowed(utl::MediaDescript
// Dont distrub the user for "non existing files - means empty URLs" or
// if we was forced to detect a stream.
// Reason behind: We must be sure to ask user for "unknown contents" only ...
- // and not for "missing files". Especialy if detection is done by a stream only
+ // and not for "missing files". Especially if detection is done by a stream only
// we can't check if the stream points to an "existing content"!
if (
(sURL.isEmpty() ) || // "non existing file" ?
diff --git a/filter/source/config/cache/typedetection.hxx b/filter/source/config/cache/typedetection.hxx
index 82f383aecdd8..c5c99d6ca16c 100644
--- a/filter/source/config/cache/typedetection.hxx
+++ b/filter/source/config/cache/typedetection.hxx
@@ -87,7 +87,7 @@ private:
@descr It steps over all flat detected types (given by the parameter lFlatTypes),
try it and search for most suitable one.
The specified MediaDescriptor will be patched, so it contain
- the right values everytime. Using of any deep detection service
+ the right values every time. Using of any deep detection service
can be enabled/disabled. And last but not least: If the results
wont be really clear (because a flat detected type has no deep
detection service), a "sugested" type name will be returned as "rLastChance".