summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2016-10-01 13:08:29 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-03 11:21:52 +0000
commitf0249a88fc502df142d36f2f67c976618b7ba6b6 (patch)
treefe9433455da9763f82484cf86c0d1d1f95d84acc /filter
parent8f62ca8e2f33a63b62dd7c39b8e002b03d6c4d95 (diff)
Fix typos
Change-Id: I6730c6c5eab9157533822e5045e9f86109062580 Reviewed-on: https://gerrit.libreoffice.org/29433 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'filter')
-rw-r--r--filter/source/config/cache/basecontainer.cxx4
-rw-r--r--filter/source/config/cache/basecontainer.hxx2
-rw-r--r--filter/source/config/cache/cacheupdatelistener.hxx2
-rw-r--r--filter/source/config/cache/configflush.cxx2
-rw-r--r--filter/source/config/cache/filtercache.cxx6
-rw-r--r--filter/source/config/cache/filtercache.hxx10
-rw-r--r--filter/source/config/cache/querytokenizer.hxx2
-rw-r--r--filter/source/config/cache/typedetection.cxx2
-rw-r--r--filter/source/config/cache/typedetection.hxx2
-rwxr-xr-xfilter/source/config/tools/merge/pyAltFCFGMerge2
-rw-r--r--filter/source/xsltdialog/xmlfiltertestdialog.cxx2
11 files changed, 18 insertions, 18 deletions
diff --git a/filter/source/config/cache/basecontainer.cxx b/filter/source/config/cache/basecontainer.cxx
index 2c193f36c055..1869e75cb82b 100644
--- a/filter/source/config/cache/basecontainer.cxx
+++ b/filter/source/config/cache/basecontainer.cxx
@@ -425,7 +425,7 @@ css::uno::Reference< css::container::XEnumeration > SAL_CALL BaseContainer::crea
// It hold a reference to us ... and call our container interface directly.
// be aware of some direct callbacks if it will be created :-)
- /* Note: Its not allowed to return NULL. Because an empty enumeration
+ /* Note: It's not allowed to return NULL. Because an empty enumeration
transport the same information but make no trouble outside.
Further its easier to work directly with the return value
instaed of checking of NULL returns! */
@@ -484,7 +484,7 @@ void SAL_CALL BaseContainer::flush()
// notify listener outside the lock!
// The used listener helper lives if we live
// and is threadsafe by itself.
- // Further its not a good idea to hold the own lock
+ // Further it's not a good idea to hold the own lock
// if an outside object is called :-)
css::lang::EventObject aSource (static_cast< css::util::XFlushable* >(this));
::cppu::OInterfaceContainerHelper* pContainer = m_lListener.getContainer(cppu::UnoType<css::util::XFlushListener>::get());
diff --git a/filter/source/config/cache/basecontainer.hxx b/filter/source/config/cache/basecontainer.hxx
index 2d5d4595530c..f02146c43f58 100644
--- a/filter/source/config/cache/basecontainer.hxx
+++ b/filter/source/config/cache/basecontainer.hxx
@@ -178,7 +178,7 @@ class BaseContainer : public BaseLock
/** @short returns a pointer to the current used cache member.
- @descr Its a point to the FilterCache instance behind m_pFlushCache
+ @descr It's a point to the FilterCache instance behind m_pFlushCache
or m_rCache.
@note The lifetime of this pointer is restricted to the time, where
diff --git a/filter/source/config/cache/cacheupdatelistener.hxx b/filter/source/config/cache/cacheupdatelistener.hxx
index 17e4db5831de..a5385f86e409 100644
--- a/filter/source/config/cache/cacheupdatelistener.hxx
+++ b/filter/source/config/cache/cacheupdatelistener.hxx
@@ -65,7 +65,7 @@ class CacheUpdateListener : public BaseLock // must be the first one to guarante
/** @short initialize new instance of this class.
- @descr Listening wont be started here. It can be done
+ @descr Listening won't be started here. It can be done
by calling startListening() on this instance.
@see startListening()
diff --git a/filter/source/config/cache/configflush.cxx b/filter/source/config/cache/configflush.cxx
index 58208412ef57..fc220f2e7000 100644
--- a/filter/source/config/cache/configflush.cxx
+++ b/filter/source/config/cache/configflush.cxx
@@ -61,7 +61,7 @@ void SAL_CALL ConfigFlush::refresh()
// notify listener outside the lock!
// The used listener helper lives if we live
// and is threadsafe by itself.
- // Further its not a good idea to hold the own lock
+ // Further it's not a good idea to hold the own lock
// if an outside object is called :-)
css::lang::EventObject aSource (static_cast< css::util::XRefreshable* >(this));
::cppu::OInterfaceContainerHelper* pContainer = m_lListener.getContainer(cppu::UnoType<css::util::XRefreshListener>::get());
diff --git a/filter/source/config/cache/filtercache.cxx b/filter/source/config/cache/filtercache.cxx
index 1059e7fd2c5e..d1a56b7997a3 100644
--- a/filter/source/config/cache/filtercache.cxx
+++ b/filter/source/config/cache/filtercache.cxx
@@ -504,7 +504,7 @@ void FilterCache::addStatePropsToItem( EItemType eType,
/* TODO
Hack -->
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
+ It's 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 :-)
*/
@@ -826,7 +826,7 @@ css::uno::Reference< css::uno::XInterface > FilterCache::impl_openConfig(EConfig
case E_PROVIDER_OLD :
{
// This special provider is used to work with
- // the old configuration format only. Its not cached!
+ // the old configuration format only. It's not cached!
sPath = CFGPACKAGE_TD_OLD;
pConfig = &xOld;
sRtlLog = "impl_openconfig(E_PROVIDER_OLD)";
@@ -1107,7 +1107,7 @@ void FilterCache::impl_validateAndOptimize()
{
// OK - there is no filter for this type. But thats not an error.
// May be it can be handled by a ContentHandler ...
- // But at this time its not guaranteed that there is any ContentHandler
+ // But at this time it's not guaranteed that there is any ContentHandler
// or FrameLoader inside this cache ... but on disk ...
bool bReferencedByLoader = true;
bool bReferencedByHandler = true;
diff --git a/filter/source/config/cache/filtercache.hxx b/filter/source/config/cache/filtercache.hxx
index e34dc2f4b325..35ade1903875 100644
--- a/filter/source/config/cache/filtercache.hxx
+++ b/filter/source/config/cache/filtercache.hxx
@@ -256,7 +256,7 @@ class FilterCache : public BaseLock
/** @short standard ctor
- @descr Its not allowed to do anything here ...
+ @descr It's not allowed to do anything here...
especially is forbidden to start operations,
which needs a FilterCache instance too!
Why? Because this FilterCache instance will be
@@ -288,10 +288,10 @@ 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 superfluous then.
- But they can't 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
+ configuration (update) access won't be copied. The cloned instance contains
a different one.
*/
std::unique_ptr<FilterCache> clone() const;
@@ -663,7 +663,7 @@ class FilterCache : public BaseLock
@attention Because this function might opens a new configuration
read access for reading one key value only, it should
- be used in rare cases only. Its an easy way ... but an
+ be used in rare cases only. It's an easy way... but an
expensive one.
@param sDirectKey
@@ -747,7 +747,7 @@ class FilterCache : public BaseLock
/** @short read the specified container item from the given configuration set.
- @descr Its not added to any internal structures here. That must be done
+ @descr It's not added to any internal structures here. That must be done
outside this method.
@param xSet
diff --git a/filter/source/config/cache/querytokenizer.hxx b/filter/source/config/cache/querytokenizer.hxx
index 42f25744c131..28e3286d820a 100644
--- a/filter/source/config/cache/querytokenizer.hxx
+++ b/filter/source/config/cache/querytokenizer.hxx
@@ -42,7 +42,7 @@ namespace filter{
</ul>
uses this schema.
- @attention This class is not threadsafe implemented. Because its not necessary.
+ @attention This class is not threadsafe implemented. Because it's not necessary.
But you have to make sure, that ist not used as such :-)
*/
class QueryTokenizer : public std::unordered_map< OUString ,
diff --git a/filter/source/config/cache/typedetection.cxx b/filter/source/config/cache/typedetection.cxx
index 278115c8af6c..92c10074d454 100644
--- a/filter/source/config/cache/typedetection.cxx
+++ b/filter/source/config/cache/typedetection.cxx
@@ -885,7 +885,7 @@ OUString TypeDetection::impl_detectTypeFlatAndDeep( utl::MediaDescriptor& r
// step over all possible types for this URL.
// solutions:
// a) no types => no detection
- // b) deep detection not allowed => return first valid type of list (because its the preferred or the first valid one)
+ // b) deep detection not allowed => return first valid type of list (because it's the preferred or the first valid one)
// or(!) match by URLPattern => in such case a deep detection will be suppressed!
// c) type has no detect service => safe the first occurred type without a detect service
// as "last chance"(!). It will be used outside of this method
diff --git a/filter/source/config/cache/typedetection.hxx b/filter/source/config/cache/typedetection.hxx
index a0c6bc818fa8..c65a946dc05a 100644
--- a/filter/source/config/cache/typedetection.hxx
+++ b/filter/source/config/cache/typedetection.hxx
@@ -86,7 +86,7 @@ private:
The specified MediaDescriptor will be patched, so it contain
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
+ won't be really clear (because a flat detected type has no deep
detection service), a "suggested" type name will be returned as "rLastChance".
It can be used after e.g. all well known deep detection services
was used without getting any result. Then this "last-chance-type"
diff --git a/filter/source/config/tools/merge/pyAltFCFGMerge b/filter/source/config/tools/merge/pyAltFCFGMerge
index fee3f2b48712..b81766a525cc 100755
--- a/filter/source/config/tools/merge/pyAltFCFGMerge
+++ b/filter/source/config/tools/merge/pyAltFCFGMerge
@@ -270,7 +270,7 @@ def readprops(buff):
return props
#---end java.util.Properties copy---#
-# Its a simple command line tool, which can merge different XML fragments
+# It's a simple command line tool, which can merge different XML fragments
# together. Such fragments must exist as files on disk, will be moved into
# one file together on disk.
#
diff --git a/filter/source/xsltdialog/xmlfiltertestdialog.cxx b/filter/source/xsltdialog/xmlfiltertestdialog.cxx
index 1deae62fa545..618ea5e89e80 100644
--- a/filter/source/xsltdialog/xmlfiltertestdialog.cxx
+++ b/filter/source/xsltdialog/xmlfiltertestdialog.cxx
@@ -114,7 +114,7 @@ static bool checkComponent( Reference< XComponent >& rxComponent, const OUString
// special case for impress documents which supports same service as draw documents
if ( rServiceName == "com.sun.star.drawing.DrawingDocument" )
{
- // so if we want a draw we need to check if its not an impress
+ // so if we want a draw we need to check if it's not an impress
if( !xInfo->supportsService("com.sun.star.presentation.PresentationDocument") )
return true;
}