summaryrefslogtreecommitdiff
path: root/sw/source/filter
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter')
-rw-r--r--sw/source/filter/html/swhtml.cxx4
-rw-r--r--sw/source/filter/html/wrthtml.cxx2
-rw-r--r--sw/source/filter/writer/wrtswtbl.cxx4
-rw-r--r--sw/source/filter/ww8/docxattributeoutput.cxx4
-rw-r--r--sw/source/filter/ww8/rtfattributeoutput.cxx2
-rw-r--r--sw/source/filter/ww8/wrtw8esh.cxx2
-rw-r--r--sw/source/filter/ww8/wrtw8nds.cxx2
-rw-r--r--sw/source/filter/ww8/wrtww8.cxx2
-rw-r--r--sw/source/filter/ww8/wrtww8.hxx2
-rw-r--r--sw/source/filter/ww8/ww8par6.cxx2
-rw-r--r--sw/source/filter/xml/swxml.cxx2
11 files changed, 14 insertions, 14 deletions
diff --git a/sw/source/filter/html/swhtml.cxx b/sw/source/filter/html/swhtml.cxx
index c048e3eb053c..48113a6a02cb 100644
--- a/sw/source/filter/html/swhtml.cxx
+++ b/sw/source/filter/html/swhtml.cxx
@@ -3006,7 +3006,7 @@ void SwHTMLParser::EndAttr( _HTMLAttr* pAttr, _HTMLAttr **ppDepAttr,
OSL_ENSURE( ppHead, "keinen Attributs-Listenkopf gefunden!" );
- // die aktuelle Psoition als Ende-Position merken
+ // die aktuelle Position als Ende-Position merken
const SwNodeIndex* pEndIdx = &pPam->GetPoint()->nNode;
xub_StrLen nEndCnt = pPam->GetPoint()->nContent.GetIndex();
@@ -5213,7 +5213,7 @@ void SwHTMLParser::InsertLineBreak()
}
else if( pPam->GetPoint()->nContent.GetIndex() )
{
- // wenn ein Claer in einem nicht-leeren Absatz ausgefuehrt wurde,
+ // wenn ein clear in einem nicht-leeren Absatz ausgefuehrt wurde,
// muss anschliessen ein neuer Absatz aufgemacht werden
// MIB 21.02.97: Eigentlich muesste man hier den unteren Absatz-
// Absatnd auf 0 drehen. Das geht aber bei sowas wie <BR ..><P>
diff --git a/sw/source/filter/html/wrthtml.cxx b/sw/source/filter/html/wrthtml.cxx
index 0da5a9af7f1c..fc9181df08f0 100644
--- a/sw/source/filter/html/wrthtml.cxx
+++ b/sw/source/filter/html/wrthtml.cxx
@@ -694,7 +694,7 @@ static Writer& OutHTML_Section( Writer& rWrt, const SwSectionNode& rSectNd )
}
// The surrounding section must be closed before the current one is
- // opended, except that it start immediatly before the current one or
+ // opended, except that it start immediately before the current one or
// another end immediately before the current one
if( pSurrCol && nSectSttIdx - pSurrSectNd->GetIndex() > 1 &&
!lcl_html_IsMultiColEnd( rHTMLWrt, nSectSttIdx-1 ) )
diff --git a/sw/source/filter/writer/wrtswtbl.cxx b/sw/source/filter/writer/wrtswtbl.cxx
index c78d006ba4f1..7a1123d169d3 100644
--- a/sw/source/filter/writer/wrtswtbl.cxx
+++ b/sw/source/filter/writer/wrtswtbl.cxx
@@ -541,7 +541,7 @@ void SwWriteTable::FillTableRowsCols( long nStartRPos, sal_uInt16 nStartRow,
{
const SwTableLine *pLine = rLines[nLine];
- // Determine the postition of the last covered row
+ // Determine the position of the last covered row
long nOldRPos = nRPos;
if( nLine < nLines-1 || nParentLineHeight==0 )
{
@@ -629,7 +629,7 @@ void SwWriteTable::FillTableRowsCols( long nStartRPos, sal_uInt16 nStartRow,
{
const SwTableBox *pBox = rBoxes[nBox];
- // Determine the postition of the last covered column
+ // Determine the position of the last covered column
sal_uInt32 nOldCPos = nCPos;
if( nBox < nBoxes-1 || (nParentLineWidth==0 && nLine==0) )
{
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index b7e211ffb8e5..b40b70dbe1f4 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -2557,7 +2557,7 @@ void DocxAttributeOutput::OutputFlyFrame_Impl( const sw::Frame &rFrame, const Po
{
if( m_postponedGraphic == NULL )
FlyFrameGraphic( pGrfNode, rFrame.GetLayoutSize() );
- else // we are writting out attributes, but w:drawing should not be inside w:rPr,
+ else // we are writing out attributes, but w:drawing should not be inside w:rPr,
{ // so write it out later
m_postponedGraphic->push_back( PostponedGraphic( pGrfNode, rFrame.GetLayoutSize()));
}
@@ -3994,7 +3994,7 @@ void DocxAttributeOutput::WriteFootnoteEndnotePr( ::sax_fastparser::FSHelperPtr
if( info.nFtnOffset != 0 )
fs->singleElementNS( XML_w, XML_numStart, FSNS( XML_w, XML_val ),
rtl::OString::valueOf( sal_Int32( info.nFtnOffset + 1 )).getStr(), FSEND );
- if( listtag != 0 ) // we are writting to settings.xml, write also special footnote/endnote list
+ if( listtag != 0 ) // we are writing to settings.xml, write also special footnote/endnote list
{ // there are currently only two hardcoded ones ( see FootnotesEndnotes())
fs->singleElementNS( XML_w, listtag, FSNS( XML_w, XML_id ), "0", FSEND );
fs->singleElementNS( XML_w, listtag, FSNS( XML_w, XML_id ), "1", FSEND );
diff --git a/sw/source/filter/ww8/rtfattributeoutput.cxx b/sw/source/filter/ww8/rtfattributeoutput.cxx
index 15796d2d8a73..1e2b1b65f1a9 100644
--- a/sw/source/filter/ww8/rtfattributeoutput.cxx
+++ b/sw/source/filter/ww8/rtfattributeoutput.cxx
@@ -1955,7 +1955,7 @@ void RtfAttributeOutput::CharKerning( const SvxKerningItem& rKerning )
{
SAL_INFO("sw.rtf", OSL_THIS_FUNC);
- // in quater points then in twips
+ // in quarter points then in twips
m_aStyles.append(OOO_STRING_SVTOOLS_RTF_EXPND);
m_aStyles.append((sal_Int32)(rKerning.GetValue() / 5));
m_aStyles.append(OOO_STRING_SVTOOLS_RTF_EXPNDTW);
diff --git a/sw/source/filter/ww8/wrtw8esh.cxx b/sw/source/filter/ww8/wrtw8esh.cxx
index 12eabd2dba98..3d9caf3b2ec7 100644
--- a/sw/source/filter/ww8/wrtw8esh.cxx
+++ b/sw/source/filter/ww8/wrtw8esh.cxx
@@ -593,7 +593,7 @@ void PlcDrawObj::WritePlc( WW8Export& rWrt ) const
SwTwips nLeft = aRect.Left() + nThick;
SwTwips nRight = aRect.Right() - nThick;
- //Nasty swap for bidi if neccessary
+ //Nasty swap for bidi if necessary
rWrt.MiserableRTLFrmFmtHack(nLeft, nRight, rFrmFmt);
//xaLeft/yaTop/xaRight/yaBottom - rel. to anchor
diff --git a/sw/source/filter/ww8/wrtw8nds.cxx b/sw/source/filter/ww8/wrtw8nds.cxx
index fd1cfa4f67d1..9881fff3baac 100644
--- a/sw/source/filter/ww8/wrtw8nds.cxx
+++ b/sw/source/filter/ww8/wrtw8nds.cxx
@@ -1612,7 +1612,7 @@ void MSWordExportBase::UpdatePosition( SwWW8AttrIter* aAttrIter, xub_StrLen nAkt
xub_StrLen nNextPos;
// go to next attribute if no bookmark is found or if the bookmark is behind the next attribute position
- // It may happend that the WhereNext() wasn't used in the previous increment because there was a
+ // It may happened that the WhereNext() wasn't used in the previous increment because there was a
// bookmark before it. Use that position before trying to find another one.
bool bNextBookmark = NearestBookmark( nNextPos, nAktPos, true );
if( nAktPos == aAttrIter->WhereNext() && ( !bNextBookmark || nNextPos > aAttrIter->WhereNext() ) )
diff --git a/sw/source/filter/ww8/wrtww8.cxx b/sw/source/filter/ww8/wrtww8.cxx
index 67eb8cf57cff..f19c11b83372 100644
--- a/sw/source/filter/ww8/wrtww8.cxx
+++ b/sw/source/filter/ww8/wrtww8.cxx
@@ -2891,7 +2891,7 @@ bool SwWW8Writer::InitStd97CodecUpdateMedium( ::msfilter::MSCodec_Std97& rCodec
mpMedium->GetItemSet()->ClearItem( SID_PASSWORD );
}
- // nonempty encryption data means hier that the codec was successfuly initialized
+ // nonempty encryption data means hier that the codec was successfully initialized
return ( aEncryptionData.getLength() != 0 );
}
diff --git a/sw/source/filter/ww8/wrtww8.hxx b/sw/source/filter/ww8/wrtww8.hxx
index b405f59ae604..d9d82d85a8e1 100644
--- a/sw/source/filter/ww8/wrtww8.hxx
+++ b/sw/source/filter/ww8/wrtww8.hxx
@@ -1058,7 +1058,7 @@ public:
SwTwips CurrentPageWidth(SwTwips &rLeft, SwTwips &rRight) const;
- /// Nasty swap for bidi if neccessary
+ /// Nasty swap for bidi if necessary
bool MiserableRTLFrmFmtHack(SwTwips &rLeft, SwTwips &rRight,
const sw::Frame &rFrmFmt);
diff --git a/sw/source/filter/ww8/ww8par6.cxx b/sw/source/filter/ww8/ww8par6.cxx
index 39c8939b2f25..c37da4aaae82 100644
--- a/sw/source/filter/ww8/ww8par6.cxx
+++ b/sw/source/filter/ww8/ww8par6.cxx
@@ -328,7 +328,7 @@ bool wwSectionManager::SetCols(SwFrmFmt &rFmt, const wwSection &rSection,
//sprmSCcolumns - number of columns - 1
const sal_Int16 nCols = rSection.NoCols();
- if (nCols < 2) //check for no columns or other wierd state
+ if (nCols < 2) //check for no columns or other weird state
return false;
SwFmtCol aCol; // Create SwFmtCol
diff --git a/sw/source/filter/xml/swxml.cxx b/sw/source/filter/xml/swxml.cxx
index ed3581943271..83b4acabd85b 100644
--- a/sw/source/filter/xml/swxml.cxx
+++ b/sw/source/filter/xml/swxml.cxx
@@ -323,7 +323,7 @@ sal_Int32 ReadThroughComponent(
if (!bContainsStream )
{
// stream name not found! Then try the compatibility name.
- // if no stream can be opened, return immediatly with OK signal
+ // if no stream can be opened, return immediately with OK signal
// do we even have an alternative name?
if ( NULL == pCompatibilityStreamName )