summaryrefslogtreecommitdiffstats
path: root/filter
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-04-18 00:26:02 +0300
committerTor Lillqvist <tml@collabora.com>2014-04-18 00:30:35 +0300
commit728ec86062c13c4994a15bf4bee810db7094c8bb (patch)
tree71da33ccd7d65d0a7c0eaf4d6ad10f66c12ae3c5 /filter
parentTypo: s/shure/sure (diff)
downloadcore-728ec86062c13c4994a15bf4bee810db7094c8bb.tar.gz
core-728ec86062c13c4994a15bf4bee810db7094c8bb.zip
Typo: s/cant/can't/
Change-Id: Id76b4ea569246c4b96da48dbc8d5a557367e0cca
Diffstat (limited to 'filter')
-rw-r--r--filter/source/config/cache/basecontainer.cxx2
-rw-r--r--filter/source/config/cache/basecontainer.hxx4
-rw-r--r--filter/source/config/cache/cacheitem.hxx4
-rw-r--r--filter/source/config/cache/filtercache.cxx10
-rw-r--r--filter/source/config/cache/filtercache.hxx4
-rw-r--r--filter/source/config/cache/filterfactory.cxx2
-rw-r--r--filter/source/config/cache/typedetection.cxx4
-rw-r--r--filter/source/config/cache/typedetection.hxx2
8 files changed, 16 insertions, 16 deletions
diff --git a/filter/source/config/cache/basecontainer.cxx b/filter/source/config/cache/basecontainer.cxx
index e3eb3637d2b6..b9c3b802082b 100644
--- a/filter/source/config/cache/basecontainer.cxx
+++ b/filter/source/config/cache/basecontainer.cxx
@@ -290,7 +290,7 @@ css::uno::Any SAL_CALL BaseContainer::getByName(const OUString& sItem)
css::uno::RuntimeException, std::exception )
{
if (sItem.isEmpty())
- throw css::container::NoSuchElementException( "An empty item cant be part of this cache!",
+ throw css::container::NoSuchElementException( "An empty item can't be part of this cache!",
css::uno::Reference< css::uno::XInterface >(static_cast< css::container::XNameAccess* >(this), css::uno::UNO_QUERY));
css::uno::Any aValue;
diff --git a/filter/source/config/cache/basecontainer.hxx b/filter/source/config/cache/basecontainer.hxx
index f0ca5648ddc7..050b9a155f9e 100644
--- a/filter/source/config/cache/basecontainer.hxx
+++ b/filter/source/config/cache/basecontainer.hxx
@@ -49,7 +49,7 @@ namespace filter{
should be available etc.
@attention The base class BaseLock must be the first of declared ones.
- Otherwise we cant be sure, that our own mutex member (which is
+ Otherwise we can't be sure, that our own mutex member (which is
present by this base class!) was full initialized inside our own
ctor as first!
*/
@@ -202,7 +202,7 @@ class BaseContainer : public BaseLock
FilterCache* p = impl_getWorkingCache();
p->doSomething();
aLock.clear();
- // after this point p cant b e guaranteed any longer!
+ // after this point p can't b e guaranteed any longer!
*/
FilterCache* impl_getWorkingCache() const;
diff --git a/filter/source/config/cache/cacheitem.hxx b/filter/source/config/cache/cacheitem.hxx
index 427417bbccb2..aa37e9f820bf 100644
--- a/filter/source/config/cache/cacheitem.hxx
+++ b/filter/source/config/cache/cacheitem.hxx
@@ -186,9 +186,9 @@ typedef ::boost::unordered_map< OUString ,
to an extension. Organization as an hash makes it
faster than searching inside vectors.
- On the other side e.g. URLPattern cant be really addressed
+ On the other side e.g. URLPattern can't be really addressed
by a hash value ... because the use wildcards. But
- there we need key-value pairs too, which cant be provided
+ there we need key-value pairs too, which can't be provided
by a pure vector!
*/
typedef ::boost::unordered_map< OUString ,
diff --git a/filter/source/config/cache/filtercache.cxx b/filter/source/config/cache/filtercache.cxx
index e49d020d112c..31c3287fae00 100644
--- a/filter/source/config/cache/filtercache.cxx
+++ b/filter/source/config/cache/filtercache.cxx
@@ -154,7 +154,7 @@ void FilterCache::takeOver(const FilterCache& rClone)
m_eFillState = rClone.m_eFillState;
// renew all dependencies and optimizations
- // Because we cant be sure, that changed filters on one clone
+ // Because we can't be sure, that changed filters on one clone
// and changed types of another clone work together.
// But here we can check against the lates changes ...
impl_validateAndOptimize();
@@ -438,13 +438,13 @@ void FilterCache::setItem( EItemType eType ,
CacheItemList& rList = impl_getItemList(eType);
// name must be part of the property set too ... otherwise our
- // container query cant work correctly
+ // container query can't work correctly
CacheItem aItem = aValue;
aItem[PROPNAME_NAME] <<= sItem;
aItem.validateUINames(m_sActLocale);
// remove implicit properties as e.g. FINALIZED or MANDATORY
- // They cant be saved here and must be readed on demand later, if they are needed.
+ // They can't be saved here and must be readed on demand later, if they are needed.
removeStatePropsFromItem(aItem);
rList[sItem] = aItem;
@@ -496,8 +496,8 @@ void FilterCache::addStatePropsToItem( EItemType eType,
{
/* TODO
Hack -->
- The default frame loader cant be located inside the normal set of frame loaders.
- Its an atomic property inside the misc cfg package. So we cant retrieve the information
+ The default frame loader can't be located inside the normal set of frame loaders.
+ Its an atomic property inside the misc cfg package. So we can't retrieve the information
about FINALIZED and MANDATORY very easy ... :-(
=> set it to readonly/required everytimes :-)
*/
diff --git a/filter/source/config/cache/filtercache.hxx b/filter/source/config/cache/filtercache.hxx
index e0d40286a090..c8c0d41ce2ca 100644
--- a/filter/source/config/cache/filtercache.hxx
+++ b/filter/source/config/cache/filtercache.hxx
@@ -293,7 +293,7 @@ class FilterCache : public BaseLock
If the new data are needed immediately inside the original container,
the method takeOver() can be used to copy all changes back.
The may be following notifications of the configuration will be superflous then.
- But they cant be stopped ...
+ But they can't be stopped ...
All internal structures will be copied here. But the internal used
configuration (update) access wont be copied. The cloned instance contains
@@ -568,7 +568,7 @@ class FilterCache : public BaseLock
no exception will be thrown. In such case the item is marked as
finalized/mandatory automaticly
Reason: May be the item cames from the old configuration package and
- was not migrated to the new one. So we cant provide write access
+ was not migrated to the new one. So we can't provide write access
to such items ...
*/
virtual void addStatePropsToItem( EItemType eType,
diff --git a/filter/source/config/cache/filterfactory.cxx b/filter/source/config/cache/filterfactory.cxx
index 707f0ae8def3..ee9ef4bdc517 100644
--- a/filter/source/config/cache/filterfactory.cxx
+++ b/filter/source/config/cache/filterfactory.cxx
@@ -163,7 +163,7 @@ 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 dont have a valid value for the property "FilterService".
- Of course we cant check for corrupted service names here. We can check
+ Of course we can't check for corrupted service names here. We can check
for empty strings only ...
*/
CacheItem lIProps;
diff --git a/filter/source/config/cache/typedetection.cxx b/filter/source/config/cache/typedetection.cxx
index 61f2c749584b..470e3a5faaec 100644
--- a/filter/source/config/cache/typedetection.cxx
+++ b/filter/source/config/cache/typedetection.cxx
@@ -662,7 +662,7 @@ bool TypeDetection::impl_getPreselectionForType(
if (!bBreakDetection)
{
- // We cant check a preselected type for a given stream!
+ // We can't check a preselected type for a given stream!
// So we must believe, that it can work ...
if ( aParsedURL.Complete == "private:stream" )
bBreakDetection = true;
@@ -1090,7 +1090,7 @@ OUString TypeDetection::impl_askUserForTypeAndFilterIfAllowed(utl::MediaDescript
// 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
- // we cant check if the stream points to an "existing content"!
+ // we can't check if the stream points to an "existing content"!
if (
(sURL.isEmpty() ) || // "non existing file" ?
(!xStream.is() ) || // non existing file !
diff --git a/filter/source/config/cache/typedetection.hxx b/filter/source/config/cache/typedetection.hxx
index 7782707cf856..2dc2eec45cfb 100644
--- a/filter/source/config/cache/typedetection.hxx
+++ b/filter/source/config/cache/typedetection.hxx
@@ -309,7 +309,7 @@ private:
types too !
@note #i60158#
- sometimes our text ascii and our csv filter cant work together.
+ sometimes our text ascii and our csv filter can't work together.
Then we overwrite our detection hardly.
sType param is used as out parameter then too ... and
rDescriptor will be changed by selecting another filter.