summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2017-03-24 11:38:26 +0100
committerJulien Nabet <serval2412@yahoo.fr>2017-03-25 08:57:51 +0000
commite4af83972e6be8b94772e46741500225ac166774 (patch)
treebb55af4a24feac00f224a804492f7ef18349addf /filter
parent74d67cffec4eea0a575869513158b050e42ec983 (diff)
Fix typos
Change-Id: Ifb779b6c96a009e6c770a8017bb2e2031a288f5f Reviewed-on: https://gerrit.libreoffice.org/35630 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'filter')
-rw-r--r--filter/source/graphicfilter/etiff/etiff.cxx2
-rw-r--r--filter/source/graphicfilter/ipict/ipict.cxx2
-rw-r--r--filter/source/graphicfilter/ipict/shape.cxx2
-rw-r--r--filter/source/msfilter/dffpropset.cxx2
-rw-r--r--filter/source/msfilter/svdfppt.cxx8
-rw-r--r--filter/source/msfilter/util.cxx4
6 files changed, 10 insertions, 10 deletions
diff --git a/filter/source/graphicfilter/etiff/etiff.cxx b/filter/source/graphicfilter/etiff/etiff.cxx
index 43b6730c5b3b..01520ae90949 100644
--- a/filter/source/graphicfilter/etiff/etiff.cxx
+++ b/filter/source/graphicfilter/etiff/etiff.cxx
@@ -253,7 +253,7 @@ bool TIFFWriter::ImplWriteHeader( bool bMultiPage )
// (OFS8) TIFF image file directory (IFD)
mnCurrentTagCountPos = m_rOStm.Tell();
- m_rOStm.WriteUInt16( 0 ); // the number of tagentrys is to insert later
+ m_rOStm.WriteUInt16( 0 ); // the number of tangents to insert later
sal_uInt32 nSubFileFlags = 0;
if ( bMultiPage )
diff --git a/filter/source/graphicfilter/ipict/ipict.cxx b/filter/source/graphicfilter/ipict/ipict.cxx
index dd5024df94e1..bcdbc3caa867 100644
--- a/filter/source/graphicfilter/ipict/ipict.cxx
+++ b/filter/source/graphicfilter/ipict/ipict.cxx
@@ -1231,7 +1231,7 @@ void PictReader::ReadHeader()
if (st < 2) { confidence[st] = --actualConfid; continue; }
IsVersion2 = false; return;
}
- if (sBuf[0] != 0x00) continue; // unrecovable error
+ if (sBuf[0] != 0x00) continue; // unrecoverable error
int numZero = 0;
do
{
diff --git a/filter/source/graphicfilter/ipict/shape.cxx b/filter/source/graphicfilter/ipict/shape.cxx
index 99b8719ad623..5aba327f869d 100644
--- a/filter/source/graphicfilter/ipict/shape.cxx
+++ b/filter/source/graphicfilter/ipict/shape.cxx
@@ -122,7 +122,7 @@ namespace PictReaderShape {
}
//-------------------- draws a rectangle --------------------
- /* Note(checkme): contradically with the QuickDraw's reference 3-23, it seems better to consider
+ /* Note(checkme): contradictally with the QuickDraw's reference 3-23, it seems better to consider
that the frame/content of a rectangle appears inside the given rectangle. Does a conversion
appear between the pascal functions and the data stored in the file ? */
void drawRectangle(VirtualDevice *dev, bool drawFrame, Rectangle const &orig, Size const &pSize) {
diff --git a/filter/source/msfilter/dffpropset.cxx b/filter/source/msfilter/dffpropset.cxx
index 214eb4808e88..5490fee57366 100644
--- a/filter/source/msfilter/dffpropset.cxx
+++ b/filter/source/msfilter/dffpropset.cxx
@@ -1160,7 +1160,7 @@ void DffPropSet::ReadPropSet( SvStream& rIn, bool bSetUninitializedOnly )
// normally nContent is the complete size of the complex property,
// but this is not always true for IMsoArrays ( what the hell is a IMsoArray ? )
- // I love special threatments :-(
+ // I love special treatments :-(
if ( ( nRecType == DFF_Prop_pVertices ) || ( nRecType == DFF_Prop_pSegmentInfo )
|| ( nRecType == DFF_Prop_fillShadeColors ) || ( nRecType == DFF_Prop_lineDashStyle )
|| ( nRecType == DFF_Prop_pWrapPolygonVertices ) || ( nRecType == DFF_Prop_connectorPoints )
diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx
index cac4f5b44066..b7e76ca57d6d 100644
--- a/filter/source/msfilter/svdfppt.cxx
+++ b/filter/source/msfilter/svdfppt.cxx
@@ -277,7 +277,7 @@ SvStream& ReadPptDocumentAtom(SvStream& rIn, PptDocumentAtom& rAtom)
rIn
.ReadInt32( nSlideX ).ReadInt32( nSlideY )
.ReadInt32( nNoticeX ).ReadInt32( nNoticeY )
- .ReadInt32( nDummy ).ReadInt32( nDummy ) // skip ZoomRation
+ .ReadInt32( nDummy ).ReadInt32( nDummy ) // skip ZoomRatio
.ReadUInt32( rAtom.nNotesMasterPersist )
.ReadUInt32( rAtom.nHandoutMasterPersist )
.ReadUInt16( rAtom.n1stPageNumber )
@@ -2502,7 +2502,7 @@ Size SdrPowerPointImport::GetPageSize() const
{
Size aRet( IsNoteOrHandout( nAktPageNum, eAktPageKind ) ? aDocAtom.GetNotesPageSize() : aDocAtom.GetSlidesPageSize() );
Scale( aRet );
- // PPT works with units of 576 dpi in any case. To avoid inacurracies
+ // PPT works with units of 576 dpi in any case. To avoid inaccuracies
// I do round the last decimal digit away.
if ( nMapMul > 2 * nMapDiv )
{
@@ -7802,7 +7802,7 @@ void SdrPowerPointImport::ApplyTextAnchorAttributes( PPTTextObj& rTextObj, Sf
{
// check if it is sensible to use the centered alignment
sal_uInt32 nMask = PPT_TEXTOBJ_FLAGS_PARA_ALIGNMENT_USED_LEFT | PPT_TEXTOBJ_FLAGS_PARA_ALIGNMENT_USED_RIGHT;
- if ( ( nTextFlags & nMask ) != nMask ) // if the textobject has left or also right aligned pararagraphs
+ if ( ( nTextFlags & nMask ) != nMask ) // if the textobject has left or also right aligned paragraphs
eTVA = SDRTEXTVERTADJUST_CENTER; // the text has to be displayed using the full width;
}
break;
@@ -7855,7 +7855,7 @@ void SdrPowerPointImport::ApplyTextAnchorAttributes( PPTTextObj& rTextObj, Sf
{
// check if it is sensible to use the centered alignment
sal_uInt32 nMask = PPT_TEXTOBJ_FLAGS_PARA_ALIGNMENT_USED_LEFT | PPT_TEXTOBJ_FLAGS_PARA_ALIGNMENT_USED_RIGHT;
- if ( ( nTextFlags & nMask ) != nMask ) // if the textobject has left or also right aligned pararagraphs
+ if ( ( nTextFlags & nMask ) != nMask ) // if the textobject has left or also right aligned paragraphs
eTHA = SDRTEXTHORZADJUST_CENTER; // the text has to be displayed using the full width;
}
break;
diff --git a/filter/source/msfilter/util.cxx b/filter/source/msfilter/util.cxx
index 714d74df6604..b105029a244f 100644
--- a/filter/source/msfilter/util.cxx
+++ b/filter/source/msfilter/util.cxx
@@ -369,7 +369,7 @@ sal_Int32 WW8ReadFieldParams::SkipToNextToken()
}
// FindNextPara searches the next backslash parameter or the next string
-// until the next blank or "\" or closing quatation mark
+// until the next blank or "\" or closing quotation mark
// or the end of the string of pStr.
//
// Output ppNext (if ppNext != 0) Suchbeginn fuer naechsten Parameter bzw. 0
@@ -403,7 +403,7 @@ sal_Int32 WW8ReadFieldParams::FindNextStringPiece(const sal_Int32 nStart)
// quotation marks before paragraph?
if ( aData[n]=='"' || aData[n]==0x201c || aData[n]==132 || aData[n]==0x14 )
{
- n++; // read over quatation marks
+ n++; // read over quotation marks
n2 = n; // search for the end from here on
while( (nLen > n2)
&& (aData[n2] != '"')