diff options
Diffstat (limited to 'filter')
20 files changed, 27 insertions, 29 deletions
diff --git a/filter/qa/complex/filter/detection/typeDetection/Helper.java b/filter/qa/complex/filter/detection/typeDetection/Helper.java index cb5aef0cbcf6..60e2ecd752aa 100644 --- a/filter/qa/complex/filter/detection/typeDetection/Helper.java +++ b/filter/qa/complex/filter/detection/typeDetection/Helper.java @@ -425,4 +425,4 @@ class FileAliasNotFoundException extends java.lang.Exception{ public FileAliasNotFoundException(String fileAlias){ super("Could not get '"+fileAlias +"'"); } -}
\ No newline at end of file +} diff --git a/filter/source/config/cache/basecontainer.hxx b/filter/source/config/cache/basecontainer.hxx index 1f914d8fc66f..97091b003a3f 100644 --- a/filter/source/config/cache/basecontainer.hxx +++ b/filter/source/config/cache/basecontainer.hxx @@ -82,7 +82,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 Normaly this member isnt used nor initialized. Thats true, + @descr Normally this member isn't used nor initialized. Thats 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/contenthandlerfactory.cxx b/filter/source/config/cache/contenthandlerfactory.cxx index 5533800c2b91..0244786cd829 100644 --- a/filter/source/config/cache/contenthandlerfactory.cxx +++ b/filter/source/config/cache/contenthandlerfactory.cxx @@ -73,7 +73,7 @@ css::uno::Reference< css::uno::XInterface > SAL_CALL ContentHandlerFactory::crea #ifdef _FILTER_CONFIG_MIGRATION_Q_ /* -> TODO - HACK - check if the given handler name really exist ... + check if the given handler name really exists ... Because our old implementation worked with an internal type name instead of a handler name. For a small migration time we must simulate this old feature :-( */ diff --git a/filter/source/config/cache/filtercache.cxx b/filter/source/config/cache/filtercache.cxx index 39e556c94dc1..7eebb6267eb4 100644 --- a/filter/source/config/cache/filtercache.cxx +++ b/filter/source/config/cache/filtercache.cxx @@ -375,7 +375,7 @@ CacheItem FilterCache::getItem( EItemType eType, /* Workaround for #137955# Draw types and filters are installed ... but draw was disabled during setup. - We must supress accessing these filters. Otherwise the office can crash. + We must suppress accessing these filters. Otherwise the office can crash. Solution for the next major release: do not install those filters ! */ if (eType == E_FILTER) @@ -695,7 +695,7 @@ void FilterCache::detectFlatForURL(const css::util::URL& aURL , // i) Step over all well known URL pattern // and add registered types to the return list too // Do it as first one - because: if a type match by a - // pattern a following deep detection can be supressed! + // pattern a following deep detection can be suppressed! // Further we can stop after first match ... for (CacheItemRegistration::const_iterator pPattReg = m_lURLPattern2Types.begin(); pPattReg != m_lURLPattern2Types.end() ; @@ -2259,7 +2259,7 @@ CacheItem FilterCache::impl_readOldItem(const css::uno::Reference< css::containe aItem[PROPNAME_NAME] <<= sItem; // Installed flag ... - // Isnt used any longer! + // Isn't used any longer! // UIName impl_readPatchUINames(xItem, aItem); diff --git a/filter/source/config/cache/filtercache.hxx b/filter/source/config/cache/filtercache.hxx index 3302612607d5..c7aa95ffa913 100644 --- a/filter/source/config/cache/filtercache.hxx +++ b/filter/source/config/cache/filtercache.hxx @@ -260,7 +260,7 @@ class FilterCache : public BaseLock /** @short standard ctor @descr Its not allowed to do anything here ... - especialy is forbidden to start operations, + especially is forbidden to start operations, which needs a FilterCache instance too! Why? Because thie FilterCache instance will be used as a singleton! And if during this ctor any @@ -484,7 +484,7 @@ class FilterCache : public BaseLock /** @short return an item, which match the specified type and name. @descr Because this cache can be used inside multithreaded environments - the caller must be aware of some exceptions - especialy a "NoSuchElementExcepotion". + the caller must be aware of some exceptions - especially a "NoSuchElementExcepotion". May another thread already removed the required item before ... @param eType @@ -914,7 +914,6 @@ class FilterCache : public BaseLock throw(css::uno::Exception); - /** @short specify, which save operation is necessary for the specified item. @desrc If an item of this cache will be added/removed or modified it will diff --git a/filter/source/config/cache/typedetection.cxx b/filter/source/config/cache/typedetection.cxx index 76db2bc48c07..f937f5b7a25b 100644 --- a/filter/source/config/cache/typedetection.cxx +++ b/filter/source/config/cache/typedetection.cxx @@ -419,7 +419,7 @@ OUString SAL_CALL TypeDetection::queryTypeByDescriptor(css::uno::Sequence< css:: // verify every flat detected (or preselected!) type // by calling its registered deep detection service. // But break this loop if a type match to the given descriptor - // by an URL pattern(!) or if deep detection isnt allowed from + // by an URL pattern(!) or if deep detection isn't allowed from // outside (bAllowDeep=sal_False) or break the whole detection by // throwing an exception if creation of the might needed input // stream failed by e.g. an IO exception ... @@ -629,7 +629,7 @@ void TypeDetection::impl_checkResultsAndAddBestFilter(utl::MediaDescriptor& rDes bool TypeDetection::impl_getPreselectionForType( const OUString& sPreSelType, const util::URL& aParsedURL, FlatDetection& rFlatTypes, bool bDocService) { - // Can be used to supress execution of some parts of this method + // Can be used to suppress execution of some parts of this method // if its already clear that detected type is valid or not. // Its necessary to use shared code at the end, which update // all return parameters constistency! @@ -678,7 +678,7 @@ bool TypeDetection::impl_getPreselectionForType( sExtension = sExtension.toAsciiLowerCase(); // otherwise we must know, if it matches to the given URL really. - // especialy if it matches by its extension or pattern registration. + // especially if it matches by its extension or pattern registration. OUStringList lExtensions(aType[PROPNAME_EXTENSIONS]); OUStringList lURLPattern(aType[PROPNAME_URLPATTERN]); @@ -886,7 +886,7 @@ OUString TypeDetection::impl_detectTypeFlatAndDeep( utl::MediaDescriptor& r // 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) - // or(!) match by URLPattern => in such case a deep detection will be supressed! + // 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 // if no further type could be detected. diff --git a/filter/source/config/tools/merge/pyAltFCFGMerge b/filter/source/config/tools/merge/pyAltFCFGMerge index d33d634b422f..fee3f2b48712 100755 --- a/filter/source/config/tools/merge/pyAltFCFGMerge +++ b/filter/source/config/tools/merge/pyAltFCFGMerge @@ -494,7 +494,7 @@ class Merger: self.m_aCfg.getValue(PROP_XMLPACKAGE ),\ self.m_aCfg.getValueWithDefault(PROP_LANGUAGEPACK, False)) - # counts all transfered fragments + # counts all transferred fragments # Can be used later to decide, if a generated package file # contains "nothing"! nItemCount = 0 diff --git a/filter/source/config/tools/split/FCFGSplit.java b/filter/source/config/tools/split/FCFGSplit.java index 90c8028334c4..e1902ba48157 100644 --- a/filter/source/config/tools/split/FCFGSplit.java +++ b/filter/source/config/tools/split/FCFGSplit.java @@ -461,7 +461,7 @@ public class FCFGSplit sTimes.append(" ms\n" ); m_aDebug.setDetailedInfo(sTimes.toString()); - // everyting seems to be ok. + // everything seems to be ok. // Return "OK" to calli. m_aDebug.setGlobalInfo("Finish."); System.exit(0); diff --git a/filter/source/flash/swfdialog.cxx b/filter/source/flash/swfdialog.cxx index 89dcfaf6d05b..e13fc4bd03b2 100644 --- a/filter/source/flash/swfdialog.cxx +++ b/filter/source/flash/swfdialog.cxx @@ -152,7 +152,7 @@ Dialog* SWFDialog::createDialog( Window* pParent ) if (mxSrcDoc.is()) { -/* TODO: From the controler we may get information what page is visible and what shapes +/* TODO: From the controller we may get information what page is visible and what shapes are selected, if we optionaly want to limit output to that Any aSelection; diff --git a/filter/source/flash/swfwriter1.cxx b/filter/source/flash/swfwriter1.cxx index 40d787cd4b17..1a7e62f83c1b 100644 --- a/filter/source/flash/swfwriter1.cxx +++ b/filter/source/flash/swfwriter1.cxx @@ -722,7 +722,6 @@ void Writer::Impl_writeText( const Point& rPos, const OUString& rText, const sal } } - // AS: Because JPEGs require the alpha channel provided separately (JPEG does not // natively support alpha channel, but SWF lets you provide it separately), we // extract the alpha channel into a separate array here. @@ -1047,7 +1046,7 @@ void Writer::Impl_writeJPEG(sal_uInt16 nBitmapId, const sal_uInt8* pJpgData, sal nLength = 2 + (pJpgSearch[2]<<8) + pJpgSearch[3]; } - // AS: I'm refering to libjpeg for a list of what these + // AS: I'm referring to libjpeg for a list of what these // markers are. See jdmarker.c for a list. // AS: I'm ignoring application specific markers 0xE1...0xEF // and comments 0xFE. I don't know what diff --git a/filter/source/graphicfilter/ieps/ieps.cxx b/filter/source/graphicfilter/ieps/ieps.cxx index ddabb5f1323c..26a2025594a9 100644 --- a/filter/source/graphicfilter/ieps/ieps.cxx +++ b/filter/source/graphicfilter/ieps/ieps.cxx @@ -164,7 +164,7 @@ static oslProcessError runProcessWithPathSearch(const OUString &rProgName, * * Because one of our programs is called "convert" and there is a convert * in the windows system directory, we want to explicitly search the PATH - * to avoid picking up on that one if ImageMagick's convert preceeds it in + * to avoid picking up on that one if ImageMagick's convert precedes it in * PATH. * */ diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx index ab401ac0d8d1..dc72ec7bbfea 100644 --- a/filter/source/msfilter/msdffimp.cxx +++ b/filter/source/msfilter/msdffimp.cxx @@ -3461,7 +3461,7 @@ Color SvxMSDffManager::MSO_CLR_ToColor( sal_uInt32 nColorCode, sal_uInt16 nConte aColor = Color( (sal_uInt8)nR, (sal_uInt8)nG, (sal_uInt8)nB ); } break; - case 0x04 : // substract grey level RGB(p,p,p) + case 0x04 : // subtract grey level RGB(p,p,p) { sal_Int16 nR = (sal_Int16)aColor.GetRed() - (sal_Int16)nParameter; sal_Int16 nG = (sal_Int16)aColor.GetGreen() - (sal_Int16)nParameter; @@ -3475,7 +3475,7 @@ Color SvxMSDffManager::MSO_CLR_ToColor( sal_uInt32 nColorCode, sal_uInt16 nConte aColor = Color( (sal_uInt8)nR, (sal_uInt8)nG, (sal_uInt8)nB ); } break; - case 0x05 : // substract from gray level RGB(p,p,p) + case 0x05 : // subtract from gray level RGB(p,p,p) { sal_Int16 nR = (sal_Int16)nParameter - (sal_Int16)aColor.GetRed(); sal_Int16 nG = (sal_Int16)nParameter - (sal_Int16)aColor.GetGreen(); diff --git a/filter/source/xslt/common/math.xsl b/filter/source/xslt/common/math.xsl index 0f35645dcebd..02298962b8b7 100644 --- a/filter/source/xslt/common/math.xsl +++ b/filter/source/xslt/common/math.xsl @@ -30,7 +30,7 @@ Public Functions abs(x) max(x1,x2) min(x1,x2) - power(x,power(interger only), rounding-factor=100) + power(x,power(integer only), rounding-factor=100) sqrt(x, rounding-factor=100) convert2radian(x,rounding-factor=100) convert2degree(x,rounding-factor=100) diff --git a/filter/source/xslt/export/spreadsheetml/table.xsl b/filter/source/xslt/export/spreadsheetml/table.xsl index 53387a71c8cb..cc12281c3d70 100644 --- a/filter/source/xslt/export/spreadsheetml/table.xsl +++ b/filter/source/xslt/export/spreadsheetml/table.xsl @@ -466,7 +466,7 @@ <xsl:param name="calculatedCellPosition" select="1" /><!-- the later table position of the current cell --> <xsl:param name="calculatedRowPosition" /><!-- the later table position of the current row --> <xsl:param name="setIndex" select="false()" /> <!-- if not '0' @ss:Index used for neglecting repeteated empty cells --> - <xsl:param name="repetition" select="@table:number-columns-repeated" /> <!-- used for explicit writen out cells --> + <xsl:param name="repetition" select="@table:number-columns-repeated" /> <!-- used for explicit written out cells --> <xsl:param name="repetitionCellPosition" select="$calculatedCellPosition" /><!-- during repetition formula needs exact cell positioning --> <xsl:param name="nextMatchedCellPosition"><!-- the later table position of the next cell --> <xsl:choose> diff --git a/filter/source/xslt/export/wordml/ooo2wordml_draw.xsl b/filter/source/xslt/export/wordml/ooo2wordml_draw.xsl index cdb9ebf8e8a8..f1d17b9ca29f 100644 --- a/filter/source/xslt/export/wordml/ooo2wordml_draw.xsl +++ b/filter/source/xslt/export/wordml/ooo2wordml_draw.xsl @@ -42,7 +42,7 @@ </xsl:variable> <xsl:choose> <!-- - deal with captions and frames first. draw:text-box is a powerfull element in OOo, its GUI name is frame. And OOo use it to contain Captions + deal with captions and frames first. draw:text-box is a powerful element in OOo, its GUI name is frame. And OOo use it to contain Captions Since there is not a corresponding object in word, so we draw the text-box itself and its children separately. If it look like a Caption only frame we'll adjust the text-box position to make it look pretty --> diff --git a/filter/source/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl b/filter/source/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl index 88f0d8addbd6..a5875c2068b9 100644 --- a/filter/source/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl +++ b/filter/source/xslt/import/spreadsheetml/spreadsheetml2ooo.xsl @@ -4253,7 +4253,7 @@ <xsl:when test="ss:Alignment/@ss:Vertical = 'Center'">middle</xsl:when> <xsl:when test="ss:Alignment/@ss:Vertical = 'Bottom'">bottom</xsl:when> <xsl:when test="ss:Alignment/@ss:Vertical = 'Automatic'">middle</xsl:when> - <!-- actually for vertical writen characters, not supported by StarOffice/OpenOffice now yet --> + <!-- actually for vertical written characters, not supported by StarOffice/OpenOffice now yet --> <xsl:otherwise>middle</xsl:otherwise> </xsl:choose> </xsl:variable> diff --git a/filter/source/xslt/odf2xhtml/export/common/table/table_rows.xsl b/filter/source/xslt/odf2xhtml/export/common/table/table_rows.xsl index 8c950154f7f5..3677352aba15 100644 --- a/filter/source/xslt/odf2xhtml/export/common/table/table_rows.xsl +++ b/filter/source/xslt/odf2xhtml/export/common/table/table_rows.xsl @@ -61,7 +61,7 @@ <xsl:param name="allTableColumns" /> <!-- Some Office Calc documents simulate a background by repeating one of the later cells until end of used space - (The value of "table:number-columns-repeated" is enourmous). Writing out all these cells would be fatal in time + (The value of "table:number-columns-repeated" is enormous). Writing out all these cells would be fatal in time and output size. Therefore, this global variable shows us the longest row with content. --> <xsl:variable name="maxRowLength" select="count($allTableColumns/table:table-column)" /> <xsl:if test="$debugEnabled"> diff --git a/filter/source/xslt/odf2xhtml/export/common/table_of_content.xsl b/filter/source/xslt/odf2xhtml/export/common/table_of_content.xsl index 24b90a5dc589..d299c912955f 100644 --- a/filter/source/xslt/odf2xhtml/export/common/table_of_content.xsl +++ b/filter/source/xslt/odf2xhtml/export/common/table_of_content.xsl @@ -447,7 +447,7 @@ Scenarios unmatched: </xsl:choose> </xsl:template> - <!-- As the span width will be mapped to column width, the preceding span widths have to be substracted --> + <!-- As the span width will be mapped to column width, the preceding span widths have to be subtracted --> <xsl:template name="create-cell-width"> <xsl:param name="width"/> <xsl:param name="unit"/> diff --git a/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl b/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl index 23655f8afb4a..3ecde5e377c0 100644 --- a/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl +++ b/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl @@ -792,7 +792,7 @@ <xsl:when test="$createDiv and normalize-space(.) != ''"> <!-- every following frame sibling till the next draw:frame have to be incapuslated within a div with left indent. - To be moved alltogether arcording the indent (usually right) --> + To be moved altogether arcording the indent (usually right) --> <xsl:comment>Next 'div' added for floating.</xsl:comment> <xsl:element name="div"> <xsl:attribute name="style"> diff --git a/filter/source/xsltdialog/xmlfiltertestdialog.cxx b/filter/source/xsltdialog/xmlfiltertestdialog.cxx index 649c32fa3db7..8c504a6a73d6 100644 --- a/filter/source/xsltdialog/xmlfiltertestdialog.cxx +++ b/filter/source/xsltdialog/xmlfiltertestdialog.cxx @@ -344,7 +344,7 @@ void XMLFilterTestDialog::onExportBrowse() if( (nFound == 15) && (!aType.isEmpty() && aService == m_pFilterInfo->maDocumentService) ) { - // see if this filter is not supressed in dialog + // see if this filter is not suppressed in dialog if( (nFlags & 0x1000) == 0 ) { aAny = xTypeDetection->getByName( aType ); |