summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2016-01-09 22:55:28 +0100
committerAshod Nakashian <ashnakash@gmail.com>2016-01-10 14:17:20 +0000
commit64d624b65124ac02d8ee59b135593fd9d8eb9067 (patch)
tree772fc0f308549b9416fbcb06bce2bf0e0f5809cc /filter
parentd61c16966b017abdbebf5ec0c2131de5a91c67f8 (diff)
Fix typos
Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86 Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Diffstat (limited to 'filter')
-rw-r--r--filter/qa/complex/filter/detection/typeDetection/TypeDetection.java2
-rw-r--r--filter/qa/complex/filter/misc/FinalizedMandatoryTest.java6
-rw-r--r--filter/source/config/cache/typedetection.cxx6
-rw-r--r--filter/source/config/tools/merge/FCFGMerge.cfg2
-rw-r--r--filter/source/docbook/sofftodocbookheadings.xsl2
-rw-r--r--filter/source/flash/swfexporter.cxx2
-rw-r--r--filter/source/flash/swfwriter1.cxx6
-rw-r--r--filter/source/graphicfilter/ipcd/ipcd.cxx2
-rw-r--r--filter/source/graphicfilter/ipict/ipict.cxx2
-rw-r--r--filter/source/graphicfilter/itiff/ccidecom.cxx2
-rw-r--r--filter/source/graphicfilter/itiff/itiff.cxx2
-rw-r--r--filter/source/msfilter/escherex.cxx2
-rw-r--r--filter/source/msfilter/msdffimp.cxx10
-rw-r--r--filter/source/msfilter/svdfppt.cxx4
-rw-r--r--filter/source/svg/svgexport.cxx2
-rw-r--r--filter/source/xslt/export/spreadsheetml/styles.xsl2
-rw-r--r--filter/source/xslt/export/spreadsheetml/table.xsl4
-rw-r--r--filter/source/xslt/import/wordml/wordml2ooo_draw.xsl2
-rw-r--r--filter/source/xslt/odf2xhtml/export/xhtml/body.xsl4
-rw-r--r--filter/source/xsltfilter/XSLTFilter.cxx2
20 files changed, 33 insertions, 33 deletions
diff --git a/filter/qa/complex/filter/detection/typeDetection/TypeDetection.java b/filter/qa/complex/filter/detection/typeDetection/TypeDetection.java
index e39e2bfca111..7a81eae0ff4d 100644
--- a/filter/qa/complex/filter/detection/typeDetection/TypeDetection.java
+++ b/filter/qa/complex/filter/detection/typeDetection/TypeDetection.java
@@ -117,7 +117,7 @@ import util.utils;
* correspond <code>defaultFileType</code> from <code>csv.files</code>
*
* Syntax: fileAlias;FilterName;FilterOptions;FilterData
- * Example: Writer6_1;%SO6productname %SO6formatversion Textdokument;;
+ * Example: Writer6_1;%SO6productname %SO6formatversion Textdocument;
*
* The example shows the following:
* <code>Writer6_1</code> is the same as in <code>csv.files</code>
diff --git a/filter/qa/complex/filter/misc/FinalizedMandatoryTest.java b/filter/qa/complex/filter/misc/FinalizedMandatoryTest.java
index b3b618c7f2e9..7a21732a6c77 100644
--- a/filter/qa/complex/filter/misc/FinalizedMandatoryTest.java
+++ b/filter/qa/complex/filter/misc/FinalizedMandatoryTest.java
@@ -59,7 +59,7 @@ import com.sun.star.util.XFlushable;
* <CODE>true</CODE> the tests check if an <CODE>Exception</CODE> must be thrown.
* The next step of the test is the removal of the filter was removed, than the service
* will be flushed. The test checks for expected exceptions: If the property
- * <CODE>Madantory</CODE> equals <CODE>true</CODE>, an <CODE>Exception</CODE> must
+ * <CODE>Mandatory</CODE> equals <CODE>true</CODE>, an <CODE>Exception</CODE> must
* be thrown.
* This test results <CODE>false</CODE> state if there is no filter available with:
* <CODE>Finalized=true</CODE>
@@ -110,7 +110,7 @@ public class FinalizedMandatoryTest
checkReadonlySupport("com.sun.star.document.FilterFactory");
}
- /**
+ /*
* call the function <CODE>checkReadonlySupport</CODE> to test <CODE>com.sun.star.document.TypeDetection</CODE>
* @see com.sun.star.document.TypeDetection
*/
@@ -119,7 +119,7 @@ public class FinalizedMandatoryTest
checkReadonlySupport("com.sun.star.document.TypeDetection");
}
- /**
+ /*
* test the given service <CODE>serviceName</CODE>.
* For every filter a new instance was created and the tests started.
* @param serviceName the name of the service to test
diff --git a/filter/source/config/cache/typedetection.cxx b/filter/source/config/cache/typedetection.cxx
index 1e81e61c7a61..4b7fa9f55d50 100644
--- a/filter/source/config/cache/typedetection.cxx
+++ b/filter/source/config/cache/typedetection.cxx
@@ -431,7 +431,7 @@ OUString SAL_CALL TypeDetection::queryTypeByDescriptor(css::uno::Sequence< css::
// flat detection failed
// pure deep detection failed
// => ask might existing InteractionHandler
- // means: ask user for it's decision
+ // means: ask user for its decision
if (sType.isEmpty())
sType = impl_askUserForTypeAndFilterIfAllowed(stlDescriptor);
@@ -641,7 +641,7 @@ bool TypeDetection::impl_getPreselectionForType(
bool bMatchByPattern = false;
// And we must know if a preselection must be preferred, because
- // it matches by it's extension too.
+ // it matches by its extension too.
bool bMatchByExtension = false;
// validate type
@@ -1100,7 +1100,7 @@ OUString TypeDetection::impl_askUserForTypeAndFilterIfAllowed(utl::MediaDescript
try
{
- // create a new request to ask user for it's decision about the usable filter
+ // create a new request to ask user for its decision about the usable filter
::framework::RequestFilterSelect aRequest(sURL);
xInteraction->handle(aRequest.GetRequest());
diff --git a/filter/source/config/tools/merge/FCFGMerge.cfg b/filter/source/config/tools/merge/FCFGMerge.cfg
index 18f9f4f7e895..d1851f7c403a 100644
--- a/filter/source/config/tools/merge/FCFGMerge.cfg
+++ b/filter/source/config/tools/merge/FCFGMerge.cfg
@@ -96,7 +96,7 @@ subdir_contenthandlers = contenthandlers
delimiter=,
#************************************************
-# Enable/disable removing of leading/trailing withespaces
+# Enable/disable removing of leading/trailing whitespaces
# during splitting stringlists.
#
# [REQUIRED]
diff --git a/filter/source/docbook/sofftodocbookheadings.xsl b/filter/source/docbook/sofftodocbookheadings.xsl
index d58d10ae5d3f..1b6c4973bf76 100644
--- a/filter/source/docbook/sofftodocbookheadings.xsl
+++ b/filter/source/docbook/sofftodocbookheadings.xsl
@@ -48,7 +48,7 @@
<!-- The key function "nestedContent" returns all ODF elements that are children of the current heading (i.e. text:h) or their parent office:body in case there is no text:h.
It works by matching all ODF elements, that text:h refer to (it's sibling or office:body childring)
- Various keyed element sets of these matched elements are being generated. A set is identified by having the same last (closest) preceding text:h or if none exisitent the parent document.
+ Various keyed element sets of these matched elements are being generated. A set is identified by having the same last (closest) preceding text:h or if none existent the parent document.
All those elements, that have the current heading as last preceding heading (text:h) are returned as a nodeset.
-->
<xsl:key name="nestedContent"
diff --git a/filter/source/flash/swfexporter.cxx b/filter/source/flash/swfexporter.cxx
index 360da87fc92d..595bf0df9e71 100644
--- a/filter/source/flash/swfexporter.cxx
+++ b/filter/source/flash/swfexporter.cxx
@@ -734,7 +734,7 @@ bool FlashExporter::getMetaFile( Reference< XComponent >&xComponent, GDIMetaFile
{
// #i121267# It is necessary to prepare the metafile since the export does *not* support
// clip regions. This tooling method clips the geometry content of the metafile internally
- // against it's own clip regions, so that the export is safe to ignore clip regions
+ // against its own clip regions, so that the export is safe to ignore clip regions
clipMetafileContentAgainstOwnRegions(rMtf);
}
}
diff --git a/filter/source/flash/swfwriter1.cxx b/filter/source/flash/swfwriter1.cxx
index 28bae703090e..82480e20ff53 100644
--- a/filter/source/flash/swfwriter1.cxx
+++ b/filter/source/flash/swfwriter1.cxx
@@ -839,7 +839,7 @@ sal_uInt16 Writer::defineBitmap( const BitmapEx &bmpSource, sal_Int32 nJPEGQuali
}
// Figure out JPEG size
- const sal_uInt8* pJpgData = nullptr;;
+ const sal_uInt8* pJpgData = nullptr;
sal_uInt32 nJpgDataLength = 0xffffffff;
Graphic aGraphic( bmpSource );
@@ -891,8 +891,8 @@ void Writer::Impl_writeImage( const BitmapEx& rBmpEx, const Point& rPt, const Si
// AS: Christian, my scaling factors are different than yours, and work better for me.
// However, I can't explain why exactly. I got some of this by trial and error.
- double XScale = destRect.GetWidth() ? static_cast<double>(originalPixelRect.GetWidth())/destRect.GetWidth() : 1.0;;
- double YScale = destRect.GetHeight() ? static_cast<double>(originalPixelRect.GetHeight())/destRect.GetHeight() : 1.0;;
+ double XScale = destRect.GetWidth() ? static_cast<double>(originalPixelRect.GetWidth())/destRect.GetWidth() : 1.0;
+ double YScale = destRect.GetHeight() ? static_cast<double>(originalPixelRect.GetHeight())/destRect.GetHeight() : 1.0;
// AS: If rClipRect has a value set, then we need to crop the bmp appropriately.
// If a map event already occurred in the metafile, then we do not need to map
diff --git a/filter/source/graphicfilter/ipcd/ipcd.cxx b/filter/source/graphicfilter/ipcd/ipcd.cxx
index bb8da45282ef..35c351f4c91b 100644
--- a/filter/source/graphicfilter/ipcd/ipcd.cxx
+++ b/filter/source/graphicfilter/ipcd/ipcd.cxx
@@ -50,7 +50,7 @@ private:
SvStream &m_rPCD;
BitmapWriteAccess* mpAcc;
- sal_uInt8 nOrientation; // orientation of the picture withinthe PCD file:
+ sal_uInt8 nOrientation; // orientation of the picture within the PCD file:
// 0 - spire point up
// 1 - spire points to the right
// 2 - spire points down
diff --git a/filter/source/graphicfilter/ipict/ipict.cxx b/filter/source/graphicfilter/ipict/ipict.cxx
index d682ec6716c1..00d5392ab385 100644
--- a/filter/source/graphicfilter/ipict/ipict.cxx
+++ b/filter/source/graphicfilter/ipict/ipict.cxx
@@ -715,7 +715,7 @@ sal_uLong PictReader::ReadPixMapEtc( Bitmap &rBitmap, bool bBaseAddr, bool bColo
// The calculation of nDataSize is considering the size of the whole data.
nDataSize = 0;
- // condionally skip BaseAddr
+ // conditionally skip BaseAddr
if ( bBaseAddr )
{
pPict->SeekRel( 4 );
diff --git a/filter/source/graphicfilter/itiff/ccidecom.cxx b/filter/source/graphicfilter/itiff/ccidecom.cxx
index df96e6eb1409..56a4aea358ce 100644
--- a/filter/source/graphicfilter/itiff/ccidecom.cxx
+++ b/filter/source/graphicfilter/itiff/ccidecom.cxx
@@ -771,7 +771,7 @@ bool CCIDecompressor::ReadEOL( sal_uInt32 /*nMaxFillBits*/ )
// or there exist some nasty export filter who always do align.
// In addition files were found in which more than the necessary maximum of 7 filling
// bits were found. Therefore we now generally accept up to 32 nonsense bits in front of the EOL-Code:
- // And I found a file in which up to ??? nonsense bits are written. Furthemore the byte order is switched in it. (SJ)
+ // And I found a file in which up to ??? nonsense bits are written. Furthermore the byte order is switched in it. (SJ)
sal_uInt32 nMaxPos = pIStream->Tell();
nMaxPos += nWidth >> 3;
diff --git a/filter/source/graphicfilter/itiff/itiff.cxx b/filter/source/graphicfilter/itiff/itiff.cxx
index c33212569b5c..d4f283bbf1b6 100644
--- a/filter/source/graphicfilter/itiff/itiff.cxx
+++ b/filter/source/graphicfilter/itiff/itiff.cxx
@@ -345,7 +345,7 @@ void TIFFReader::ReadTagData( sal_uInt16 nTagType, sal_uInt32 nDataLen)
SAL_INFO("filter.tiff","Compression: " << nCompression);
break;
- case 0x0106: // Photometric Interpreation
+ case 0x0106: // Photometric Interpretation
nPhotometricInterpretation = ReadIntData();
SAL_INFO("filter.tiff","PhotometricInterpretation: " << nPhotometricInterpretation);
break;
diff --git a/filter/source/msfilter/escherex.cxx b/filter/source/msfilter/escherex.cxx
index 25d4dcf8dc91..cd835b98bfc0 100644
--- a/filter/source/msfilter/escherex.cxx
+++ b/filter/source/msfilter/escherex.cxx
@@ -4917,7 +4917,7 @@ void EscherExGlobal::WriteDggAtom( SvStream& rStrm ) const
// write the DGG record header (do not include the 8 bytes of the header in the data size)
rStrm.WriteUInt32( ESCHER_Dgg << 16 ).WriteUInt32( nDggSize - 8 );
- // claculate and write the fixed DGG data
+ // calculate and write the fixed DGG data
sal_uInt32 nShapeCount = 0;
sal_uInt32 nLastShapeId = 0;
for( DrawingInfoVector::const_iterator aIt = maDrawingInfos.begin(), aEnd = maDrawingInfos.end(); aIt != aEnd; ++aIt )
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx
index 39552a012bb2..8e5d8ae0a68c 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -791,9 +791,9 @@ static basegfx::B2DPolyPolygon GetLineArrow( const sal_Int32 nLineWidth, const M
{
basegfx::B2DPolyPolygon aRetPolyPoly;
// 70 100mm = 2pt = 40 twip. In MS, line width less than 2pt has the same size arrow as 2pt
- //If the unit is twip. Make all use this unit especailly the critical value 70/40.
+ //If the unit is twip. Make all use this unit especially the critical value 70/40.
sal_Int32 nLineWidthCritical = bScaleArrow ? 40 : 70;
- double fLineWidth = nLineWidth < nLineWidthCritical ? nLineWidthCritical : nLineWidth;;
+ double fLineWidth = nLineWidth < nLineWidthCritical ? nLineWidthCritical : nLineWidth;
double fLengthMul, fWidthMul;
sal_Int32 nLineNumber;
@@ -1284,7 +1284,7 @@ void DffPropertyReader::ApplyFillAttributes( SvStream& rIn, SfxItemSet& rSet, co
break;
case mso_fillShadeCenter : // Shade from bounding rectangle to end point
{
- //If it is imported as a bitmap, it will not work well with transparecy especially 100
+ //If it is imported as a bitmap, it will not work well with transparency especially 100
//But the gradient look well comparing with imported as gradient. And rotate with shape
//also works better. So here just keep it.
if ( rObjData.aBoundRect.IsEmpty() )// size of object needed to be able
@@ -2848,7 +2848,7 @@ void DffPropertyReader::ImportGradientColor( SfxItemSet& aSet,MSO_FillType eMSO_
aGrad.SetStartIntens( 100 );
aGrad.SetEndIntens( 100 );
aSet.Put( XFillGradientItem( OUString(), aGrad ) );
- //Construct tranparency item. This item can coodinate with both solid and gradient.
+ //Construct tranparency item. This item can coordinate with both solid and gradient.
if ( dTrans < 1.0 || dBackTrans < 1.0 )
{
sal_uInt8 nStartCol = (sal_uInt8)( (1 - dTrans )* 255 );
@@ -5056,7 +5056,7 @@ SdrObject* SvxMSDffManager::ProcessObj(SvStream& rSt,
pObj = pOrgObj = nullptr;
}
- // Distance of Textbox to it's surrounding Customshape
+ // Distance of Textbox to its surrounding Customshape
sal_Int32 nTextLeft = GetPropertyValue( DFF_Prop_dxTextLeft, 91440L);
sal_Int32 nTextRight = GetPropertyValue( DFF_Prop_dxTextRight, 91440L );
sal_Int32 nTextTop = GetPropertyValue( DFF_Prop_dyTextTop, 45720L );
diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx
index f4162984a2e3..3264c9ca30c6 100644
--- a/filter/source/msfilter/svdfppt.cxx
+++ b/filter/source/msfilter/svdfppt.cxx
@@ -1857,7 +1857,7 @@ SdrObject* SdrPowerPointImport::ImportOLE( long nOLEId,
sal_uInt8 aTestA[ 10 ];
bool bGetItAsOle = ( sizeof( aTestA ) == xSrcTst->Read( aTestA, sizeof( aTestA ) ) );
if ( !bGetItAsOle )
- { // maybe there is a contentsstream in here
+ { // maybe there is a contents stream in here
xSrcTst = xObjStor->OpenSotStream( "Contents", STREAM_READWRITE | StreamMode::NOCREATE );
bGetItAsOle = ( xSrcTst.Is() && sizeof( aTestA ) == xSrcTst->Read( aTestA, sizeof( aTestA ) ) );
}
@@ -5791,7 +5791,7 @@ void PPTPortionObj::ApplyTo( SfxItemSet& rSet, SdrPowerPointImport& rManager, s
if ( nDestinationInstance == 0xffffffff )
mrStyleSheet.mpCharSheet[ mnInstance ]->maCharLevel[ mnDepth ].mnFontColorInStyleSheet = aCol;
}
- else if ( nVal & 0x0f000000 ) // this is not a hard attribute, but maybe the page has a different colerscheme,
+ else if ( nVal & 0x0f000000 ) // this is not a hard attribute, but maybe the page has a different colorscheme,
{ // so that in this case we must use a hard color attribute
Color aCol( rManager.MSO_TEXT_CLR_ToColor( nVal ) );
Color& aColorInSheet = mrStyleSheet.mpCharSheet[ mnInstance ]->maCharLevel[ mnDepth ].mnFontColorInStyleSheet;
diff --git a/filter/source/svg/svgexport.cxx b/filter/source/svg/svgexport.cxx
index 1adec14435dd..a3f7ed772c0e 100644
--- a/filter/source/svg/svgexport.cxx
+++ b/filter/source/svg/svgexport.cxx
@@ -1452,7 +1452,7 @@ bool SVGFilter::implGetPagePropSet( const Reference< XDrawPage > & rxPage )
mVisiblePagePropSet.bIsBackgroundVisible = true;
mVisiblePagePropSet.bAreBackgroundObjectsVisible = true;
- mVisiblePagePropSet.bIsPageNumberFieldVisible = false;;
+ mVisiblePagePropSet.bIsPageNumberFieldVisible = false;
mVisiblePagePropSet.bIsHeaderFieldVisible = false;
mVisiblePagePropSet.bIsFooterFieldVisible = true;
mVisiblePagePropSet.bIsDateTimeFieldVisible = true;
diff --git a/filter/source/xslt/export/spreadsheetml/styles.xsl b/filter/source/xslt/export/spreadsheetml/styles.xsl
index 3cc3d8a20f46..b2b64edc6fba 100644
--- a/filter/source/xslt/export/spreadsheetml/styles.xsl
+++ b/filter/source/xslt/export/spreadsheetml/styles.xsl
@@ -70,7 +70,7 @@
<xsl:if test="not(@style:family='table-row') or @style:family='table-row' and key('getCellByStyle', '.')">
<xsl:element name="Style">
<xsl:attribute name="ss:ID">
- <!-- neglecting that a style is only unique in conjunction with it's family name -->
+ <!-- neglecting that a style is only unique in conjunction with its family name -->
<xsl:value-of select="@style:name" />
</xsl:attribute>
<xsl:choose>
diff --git a/filter/source/xslt/export/spreadsheetml/table.xsl b/filter/source/xslt/export/spreadsheetml/table.xsl
index cc12281c3d70..5876b8f6fd26 100644
--- a/filter/source/xslt/export/spreadsheetml/table.xsl
+++ b/filter/source/xslt/export/spreadsheetml/table.xsl
@@ -222,7 +222,7 @@
<!-- current node is a table:table-column -->
- <!-- dublicates column elements in case of column-repeated attribute -->
+ <!-- duplicates column elements in case of column-repeated attribute -->
<xsl:template name="repeat-adding-table-column">
<xsl:param name="table:table-column" />
<xsl:param name="numberColumnsRepeated" />
@@ -312,7 +312,7 @@
<!--
Rows as "table:table-row" might be grouped in
"table:table-header-rows" or "table:table-row-group"
- This row-tree will be traversed providing each Row with it's
+ This row-tree will be traversed providing each Row with its
calculatedRowPosition and earlierRowNumber.
By this repeated empty rows might be neglected in the spreadsheetml output,
as the following row will notice the 'gap' and provide @ss:Index,
diff --git a/filter/source/xslt/import/wordml/wordml2ooo_draw.xsl b/filter/source/xslt/import/wordml/wordml2ooo_draw.xsl
index b92a129ff643..40dd7fc93d27 100644
--- a/filter/source/xslt/import/wordml/wordml2ooo_draw.xsl
+++ b/filter/source/xslt/import/wordml/wordml2ooo_draw.xsl
@@ -1494,7 +1494,7 @@
</xsl:attribute>
</xsl:if>
<xsl:variable name="typeid_adj">
- <!--for fix the bug of version 1.63: the following discription: adj="-11796480,,5400" in OOo should be: modifier =" -11796480 0 5400"-->
+ <!--for fix the bug of version 1.63: the following description: adj="-11796480,,5400" in OOo should be: modifier =" -11796480 0 5400"-->
<xsl:variable name="tmp_adj">
<xsl:value-of select="key('shapetype',@type)/@adj"/>
</xsl:variable>
diff --git a/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl b/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
index e86225bac3a3..baee18241128 100644
--- a/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
+++ b/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
@@ -859,7 +859,7 @@
</xsl:choose>
</xsl:template>
- <!-- A XML node other than text or element (e.g. commment) should not stop the recursion -->
+ <!-- A XML node other than text or element (e.g. comment) should not stop the recursion -->
<xsl:template match="comment()" mode="frameFloating">
<xsl:param name="globalData"/>
<xsl:param name="previousFrameWidths" select="0"/>
@@ -2775,7 +2775,7 @@
<!-- Hidden text dependent on Office variables:
The text is not shown, if condition is 'true'.
- Implemented solely for conditons as '<VARIABLE>==0' or '<VARIABLE>==1'
+ Implemented solely for conditions as '<VARIABLE>==0' or '<VARIABLE>==1'
-->
<xsl:key match="text:variable-set" name="varSet" use="@text:name"/>
<xsl:template match="text:hidden-text">
diff --git a/filter/source/xsltfilter/XSLTFilter.cxx b/filter/source/xsltfilter/XSLTFilter.cxx
index 2029b9f9e138..fa7e66436489 100644
--- a/filter/source/xsltfilter/XSLTFilter.cxx
+++ b/filter/source/xsltfilter/XSLTFilter.cxx
@@ -419,7 +419,7 @@ namespace XSLT
// read source data
// we are especially interested in the output stream
// since that is where our xml-writer will push the data
- // from it's data-source interface
+ // from its data-source interface
OUString aName, sURL;
bool bIndent = false;
OUString aDoctypePublic;