summaryrefslogtreecommitdiff
path: root/filter/source
diff options
context:
space:
mode:
Diffstat (limited to 'filter/source')
-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
18 files changed, 29 insertions, 29 deletions
diff --git a/filter/source/config/cache/typedetection.cxx b/filter/source/config/cache/typedetection.cxx
index 9bdcba90d1e7..2dd749f017fd 100644
--- a/filter/source/config/cache/typedetection.cxx
+++ b/filter/source/config/cache/typedetection.cxx
@@ -429,7 +429,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);
@@ -637,7 +637,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
@@ -1094,7 +1094,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 ed6bc501358d..075bd7fe5618 100644
--- a/filter/source/flash/swfexporter.cxx
+++ b/filter/source/flash/swfexporter.cxx
@@ -725,7 +725,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 abec43edb973..bd38ef5a1af4 100644
--- a/filter/source/flash/swfwriter1.cxx
+++ b/filter/source/flash/swfwriter1.cxx
@@ -821,7 +821,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 );
@@ -872,8 +872,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 1ee08fe7d9fc..fd2418451a7b 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 386bb5deae9d..34281bd8e1df 100644
--- a/filter/source/graphicfilter/ipict/ipict.cxx
+++ b/filter/source/graphicfilter/ipict/ipict.cxx
@@ -713,7 +713,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 36a1d3e2c2f5..1cb7d7d53448 100644
--- a/filter/source/graphicfilter/itiff/ccidecom.cxx
+++ b/filter/source/graphicfilter/itiff/ccidecom.cxx
@@ -769,7 +769,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 1e77120ab64b..0afbaaff4f19 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 2c3cdd3be950..2f0ea27d2af1 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 9a886d7996ed..ca6e6f2a2036 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -786,9 +786,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;
@@ -1279,7 +1279,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
@@ -2847,7 +2847,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 );
@@ -5055,7 +5055,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 ae6ef974e090..9fda08ea16ff 100644
--- a/filter/source/msfilter/svdfppt.cxx
+++ b/filter/source/msfilter/svdfppt.cxx
@@ -1856,7 +1856,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 ) ) );
}
@@ -5789,7 +5789,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 44940cc4f53c..4c7153221ada 100644
--- a/filter/source/svg/svgexport.cxx
+++ b/filter/source/svg/svgexport.cxx
@@ -1437,7 +1437,7 @@ void 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 9d5343ab024d..f39f366ca894 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;