diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2017-11-13 00:20:20 +0100 |
---|---|---|
committer | Mark Page <aptitude@btconnect.com> | 2017-11-13 08:43:17 +0100 |
commit | d71bcc4dc5025ea24944454908098269cfd095a3 (patch) | |
tree | 4e0e21223c2b7fc157b840d2c717eb1dd1ba7942 /filter | |
parent | 930efab3be7dd818918b7116119bb049acdcda76 (diff) |
Fix typos
Change-Id: Ia544298334364ece3b3963a4adc00c5e01189b91
Reviewed-on: https://gerrit.libreoffice.org/44654
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mark Page <aptitude@btconnect.com>
Diffstat (limited to 'filter')
-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 | ||||
-rw-r--r-- | filter/source/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl | 2 | ||||
-rw-r--r-- | filter/source/xslt/odf2xhtml/export/xhtml/body.xsl | 2 |
6 files changed, 16 insertions, 16 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; diff --git a/filter/source/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl b/filter/source/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl index dc378058ca8f..6e88a09b9162 100644 --- a/filter/source/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl +++ b/filter/source/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl @@ -5056,7 +5056,7 @@ </xsl:call-template> <xsl:text>cm</xsl:text> </xsl:when> - <!-- Note: This is the default row hight value in spec it is written 255 point, this seems wrong --> + <!-- Note: This is the default row height value in spec it is written 255 point, this seems wrong --> <!-- <xsl:otherwise>0.503cm</xsl:otherwise> --> <xsl:otherwise>0.45cm</xsl:otherwise> </xsl:choose> diff --git a/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl b/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl index c73a0a68cf69..76567ceb4cf0 100644 --- a/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl +++ b/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl @@ -990,7 +990,7 @@ </xsl:variable> <!-- if the frame is anchored on a paragraph --> <xsl:if test="@text:anchor-type='paragraph'"> - <xsl:comment>Next 'div' is emulating the top hight of a draw:frame.</xsl:comment> + <xsl:comment>Next 'div' is emulating the top height of a draw:frame.</xsl:comment> <!-- When the svg:y is set relative to the paragraph content, the best way to emulate a positive height, is to add an invisbile division inbetween with a height. Often text will flow into this 'gap', which is handled separately! |