summaryrefslogtreecommitdiff
path: root/sw/source/filter
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter')
-rw-r--r--sw/source/filter/html/css1atr.cxx4
-rw-r--r--sw/source/filter/html/htmltab.cxx2
-rw-r--r--sw/source/filter/html/swhtml.cxx2
-rw-r--r--sw/source/filter/inc/wwstyles.hxx2
-rw-r--r--sw/source/filter/ww8/docxattributeoutput.cxx4
-rw-r--r--sw/source/filter/ww8/rtfattributeoutput.cxx6
-rw-r--r--sw/source/filter/ww8/rtfstringbuffer.hxx2
-rw-r--r--sw/source/filter/ww8/writerhelper.hxx2
-rw-r--r--sw/source/filter/ww8/writerwordglue.cxx4
-rw-r--r--sw/source/filter/ww8/writerwordglue.hxx2
-rw-r--r--sw/source/filter/ww8/wrtw8nds.cxx2
-rw-r--r--sw/source/filter/ww8/wrtww8.hxx2
-rw-r--r--sw/source/filter/ww8/ww8graf2.cxx2
-rw-r--r--sw/source/filter/ww8/ww8par.cxx4
-rw-r--r--sw/source/filter/ww8/ww8par.hxx2
-rw-r--r--sw/source/filter/ww8/ww8par2.cxx4
-rw-r--r--sw/source/filter/ww8/ww8par5.cxx2
-rw-r--r--sw/source/filter/ww8/ww8par6.cxx2
-rw-r--r--sw/source/filter/ww8/ww8scan.cxx4
-rw-r--r--sw/source/filter/ww8/ww8toolbar.cxx2
-rw-r--r--sw/source/filter/xml/XMLRedlineImportHelper.cxx2
-rw-r--r--sw/source/filter/xml/swxml.cxx2
-rw-r--r--sw/source/filter/xml/xmltbli.cxx4
23 files changed, 32 insertions, 32 deletions
diff --git a/sw/source/filter/html/css1atr.cxx b/sw/source/filter/html/css1atr.cxx
index b5690e80ed9e..f039ef7ad183 100644
--- a/sw/source/filter/html/css1atr.cxx
+++ b/sw/source/filter/html/css1atr.cxx
@@ -223,7 +223,7 @@ void SwHTMLWriter::OutCSS1_Property( const sal_Char *pProp,
sOut.append("<" + OString(OOO_STRING_SVTOOLS_HTML_style) + " " +
OString(OOO_STRING_SVTOOLS_HTML_O_type) + "=\"text/css\">");
// Optional CSS2 code for dot leaders (dotted line between the Table of Contents titles and page numbers):
- // (More inforation: http://www.w3.org/Style/Examples/007/leaders.en.html)
+ // (More information: http://www.w3.org/Style/Examples/007/leaders.en.html)
//
// p.leaders {
// /* FIXME:
@@ -2723,7 +2723,7 @@ static Writer& OutCSS1_SvxFontWeight( Writer& rWrt, const SfxPoolItem& rHt )
break;
case WEIGHT_ULTRABOLD: pStr = sCSS1_PV_extra_bold; break;
default:
- pStr = sCSS1_PV_normal;;
+ pStr = sCSS1_PV_normal;
}
if( pStr )
diff --git a/sw/source/filter/html/htmltab.cxx b/sw/source/filter/html/htmltab.cxx
index 0559b5f81a40..02dfb42cd009 100644
--- a/sw/source/filter/html/htmltab.cxx
+++ b/sw/source/filter/html/htmltab.cxx
@@ -428,7 +428,7 @@ class HTMLTable
bool bHasToFly;
bool bFixedCols;
bool bColSpec; // where there COL(GROUP)-elements?
- bool bPrcWidth; // width is declarated in %
+ bool bPrcWidth; // width is declared in %
SwHTMLParser *pParser; // the current parser
HTMLTable *pTopTable; // the table on the Top-Level
diff --git a/sw/source/filter/html/swhtml.cxx b/sw/source/filter/html/swhtml.cxx
index 94a06fd4386a..a151ff19938a 100644
--- a/sw/source/filter/html/swhtml.cxx
+++ b/sw/source/filter/html/swhtml.cxx
@@ -3045,7 +3045,7 @@ bool SwHTMLParser::EndAttr( _HTMLAttr* pAttr, _HTMLAttr **ppDepAttr,
nEndCnt != pAttr->GetSttCnt() )
{
bInsert = true;
- // We do some optimization for script depenedent attributes here.
+ // We do some optimization for script dependent attributes here.
if( *pEndIdx == pAttr->GetSttPara() )
{
bool bFont = false;
diff --git a/sw/source/filter/inc/wwstyles.hxx b/sw/source/filter/inc/wwstyles.hxx
index efb11063fc02..c091ec2e7025 100644
--- a/sw/source/filter/inc/wwstyles.hxx
+++ b/sw/source/filter/inc/wwstyles.hxx
@@ -154,7 +154,7 @@ namespace ww
/** Find the WinWord english name from a sti index
- Map the word style index to it's english name
+ Map the word style index to its english name
@param
sti the Style index
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index c59931b953cc..cf50f0321815 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -971,7 +971,7 @@ void DocxAttributeOutput::EndParagraphProperties(const SfxItemSet& rParagraphMar
// Call the 'Redline' function. This will add redline (change-tracking) information that regards to paragraph properties.
// This includes changes like 'Bold', 'Underline', 'Strikethrough' etc.
- // If there is RedlineData present, call WriteCollectedParagraphProperties() for writting pPr before calling Redline().
+ // If there is RedlineData present, call WriteCollectedParagraphProperties() for writing pPr before calling Redline().
// As there will be another pPr for redline and LO might mix both.
if(pRedlineData)
WriteCollectedParagraphProperties();
@@ -5630,7 +5630,7 @@ static OString impl_NumberingType( sal_uInt16 nNumberingType )
return aType;
}
-// Convertig Level Numbering Format Code to string
+// Converting Level Numbering Format Code to string
static OString impl_LevelNFC( sal_uInt16 nNumberingType , const SfxItemSet *pOutSet)
{
OString aType;
diff --git a/sw/source/filter/ww8/rtfattributeoutput.cxx b/sw/source/filter/ww8/rtfattributeoutput.cxx
index 6e97113a543f..42138325ce11 100644
--- a/sw/source/filter/ww8/rtfattributeoutput.cxx
+++ b/sw/source/filter/ww8/rtfattributeoutput.cxx
@@ -183,8 +183,8 @@ void RtfAttributeOutput::RTLAndCJKState(bool bIsRTL, sal_uInt16 nScript)
You would have thought that
m_rExport.Strm() << (bIsRTL ? OOO_STRING_SVTOOLS_RTF_RTLCH : OOO_STRING_SVTOOLS_RTF_LTRCH); would be sufficient here ,
but looks like word needs to see the other directional token to be
- satisified that all is kosher, otherwise it seems in ver 2003 to go and
- semi-randomlyly stick strike through about the place. Perhaps
+ satisfied that all is kosher, otherwise it seems in ver 2003 to go and
+ semi-randomly stick strike through about the place. Perhaps
strikethrough is some ms developers "something is wrong signal" debugging
code that we're triggering ?
*/
@@ -776,7 +776,7 @@ void RtfAttributeOutput::TableDefaultBorders(ww8::WW8TableNodeInfoInner::Pointer
OOO_STRING_SVTOOLS_RTF_CLBRDRT, OOO_STRING_SVTOOLS_RTF_CLBRDRL, OOO_STRING_SVTOOLS_RTF_CLBRDRB, OOO_STRING_SVTOOLS_RTF_CLBRDRR
};
//Yes left and top are swapped with eachother for cell padding! Because
- //that's what the thunderingly annoying rtf export/import word xp does.
+ //that's what the thundering annoying rtf export/import word xp does.
static const char* aCellPadNames[] =
{
OOO_STRING_SVTOOLS_RTF_CLPADL, OOO_STRING_SVTOOLS_RTF_CLPADT, OOO_STRING_SVTOOLS_RTF_CLPADB, OOO_STRING_SVTOOLS_RTF_CLPADR
diff --git a/sw/source/filter/ww8/rtfstringbuffer.hxx b/sw/source/filter/ww8/rtfstringbuffer.hxx
index f917347d8872..dd9300657f5f 100644
--- a/sw/source/filter/ww8/rtfstringbuffer.hxx
+++ b/sw/source/filter/ww8/rtfstringbuffer.hxx
@@ -44,7 +44,7 @@ public:
sal_Int32 getLength() const;
/// Writes the contents of the buffer directly to the supplied stream.
void makeStringAndClear(RtfAttributeOutput* pAttributeOutput);
- /// Returns the bufferent strings as a string (ignores graphic elements!)
+ /// Returns the buffered strings as a string (ignores graphic elements!)
OString makeStringAndClear();
/// Access to the last buffer.
OStringBuffer& getLastBuffer();
diff --git a/sw/source/filter/ww8/writerhelper.hxx b/sw/source/filter/ww8/writerhelper.hxx
index 6c60d7760492..5be0823fed39 100644
--- a/sw/source/filter/ww8/writerhelper.hxx
+++ b/sw/source/filter/ww8/writerhelper.hxx
@@ -77,7 +77,7 @@ namespace ww8
In word all frames are effectively anchored to character or as
character. This is nice and simple, writer is massively complex in this
area, so this ww8::Frame simplifies matters by providing a single unified
- view of the multitute of elements in writer and their differing quirks.
+ view of the multitude of elements in writer and their differing quirks.
A ww8::Frame wraps a writer frame and is guaranteed to have a suitable
anchor position available from it. It hides much of the needless
diff --git a/sw/source/filter/ww8/writerwordglue.cxx b/sw/source/filter/ww8/writerwordglue.cxx
index 25ad1a18e046..5e751166ecaf 100644
--- a/sw/source/filter/ww8/writerwordglue.cxx
+++ b/sw/source/filter/ww8/writerwordglue.cxx
@@ -105,7 +105,7 @@ namespace myImplHelpers
/*
SwTextFormatColl and SwCharFormat are quite distinct types and how they are
- gotten is also distinct, but the algorithm to match word's eqivalents into
+ gotten is also distinct, but the algorithm to match word's equivalents into
them is the same, so we put the different stuff into two separate helper
implementations and a core template that uses the helpers that uses the
same algorithm to do the work. We'll make the helpers specializations of a
@@ -500,7 +500,7 @@ namespace sw
All we want to do is ensure for now is that if a charfmt exist
in the character properties that it rises to the top and is
exported first. In the future we might find more ordering
- depandancies for export, in which case this is the place to do
+ dependencies for export, in which case this is the place to do
it
*/
if (nA == nB)
diff --git a/sw/source/filter/ww8/writerwordglue.hxx b/sw/source/filter/ww8/writerwordglue.hxx
index 4e09a0a2bfc2..0e8ec8558822 100644
--- a/sw/source/filter/ww8/writerwordglue.hxx
+++ b/sw/source/filter/ww8/writerwordglue.hxx
@@ -94,7 +94,7 @@ namespace sw
else is the same.
So this function compares two writer page fmts and sees if the
- follow frame and the title frame are the same from word persecptive
+ follow frame and the title frame are the same from word perspective
except for the content of their headers.
@return true if the rTitleFormat followed by rFollowFormat could be
diff --git a/sw/source/filter/ww8/wrtw8nds.cxx b/sw/source/filter/ww8/wrtw8nds.cxx
index 011a811f04cd..172be21f527a 100644
--- a/sw/source/filter/ww8/wrtw8nds.cxx
+++ b/sw/source/filter/ww8/wrtw8nds.cxx
@@ -2160,7 +2160,7 @@ void MSWordExportBase::OutputTextNode( const SwTextNode& rNode )
AppendAnnotationMarks( rNode, nAktPos, nNextAttr - nAktPos );
// At the moment smarttags are only written for paragraphs, at the
- // begining of the paragraph.
+ // beginning of the paragraph.
if (nAktPos == 0)
AppendSmartTags(rNode);
diff --git a/sw/source/filter/ww8/wrtww8.hxx b/sw/source/filter/ww8/wrtww8.hxx
index d1179cb3123a..8a2a592dea2a 100644
--- a/sw/source/filter/ww8/wrtww8.hxx
+++ b/sw/source/filter/ww8/wrtww8.hxx
@@ -580,7 +580,7 @@ public:
/// Iterate through the nodes and call the appropriate OutputNode() on them.
void WriteText();
- /// Return whether cuurently exported node is in table.
+ /// Return whether currently exported node is in table.
bool IsInTable() const;
/// Set the pCurPam appropriately and call WriteText().
diff --git a/sw/source/filter/ww8/ww8graf2.cxx b/sw/source/filter/ww8/ww8graf2.cxx
index 194e2105d511..23599896699e 100644
--- a/sw/source/filter/ww8/ww8graf2.cxx
+++ b/sw/source/filter/ww8/ww8graf2.cxx
@@ -336,7 +336,7 @@ void SwWW8ImplReader::ReplaceObj(const SdrObject &rReplaceObj,
rSubObj.SetLayer(rReplaceObj.GetLayer());
// remove old object from group-list and add new one
- // (this also exchanges it in the drwaing page)
+ // (this also exchanges it in the drawing page)
pObjectList->ReplaceObject(&rSubObj, rReplaceObj.GetOrdNum());
}
else
diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx
index 16db554200f8..628662eb4f7a 100644
--- a/sw/source/filter/ww8/ww8par.cxx
+++ b/sw/source/filter/ww8/ww8par.cxx
@@ -752,7 +752,7 @@ SdrObject* SwMSDffManager::ProcessObj(SvStream& rSt,
);
}
- // Distance of Textbox to it's surrounding Autoshape
+ // Distance of Textbox to its surrounding Autoshape
sal_Int32 nTextLeft = GetPropertyValue( DFF_Prop_dxTextLeft, 91440L);
sal_Int32 nTextRight = GetPropertyValue( DFF_Prop_dxTextRight, 91440L );
sal_Int32 nTextTop = GetPropertyValue( DFF_Prop_dyTextTop, 45720L );
@@ -6294,7 +6294,7 @@ bool SwMSDffManager::GetOLEStorageName(long nOLEId, OUString& rStorageName,
if (rReader.m_pStg)
{
// Via the TextBox-PLCF we get the right char Start-End positions
- // We should then find the EmbedField and the corresponding Sprms
+ // We should then find the EmbeddedField and the corresponding Sprms
// in that Area.
// We only need the Sprm for the Picture Id.
long nOldPos = rReader.m_pStrm->Tell();
diff --git a/sw/source/filter/ww8/ww8par.hxx b/sw/source/filter/ww8/ww8par.hxx
index 03e6b43539ea..de881a1ad6f9 100644
--- a/sw/source/filter/ww8/ww8par.hxx
+++ b/sw/source/filter/ww8/ww8par.hxx
@@ -1131,7 +1131,7 @@ private:
as they are encountered, and so their end point is normally unimportant.
But hyperlink fields need to be applied as attributes to text and it is
far easier and safer to set the end point of an attribute when we
- encounter the end marker of the field instead of caculating in advance
+ encounter the end marker of the field instead of calculating in advance
where the end point will fall, to do so fully correctly duplicates the
main logic of the filter itself.
*/
diff --git a/sw/source/filter/ww8/ww8par2.cxx b/sw/source/filter/ww8/ww8par2.cxx
index 3501d63d1911..27b82a46c63d 100644
--- a/sw/source/filter/ww8/ww8par2.cxx
+++ b/sw/source/filter/ww8/ww8par2.cxx
@@ -2143,7 +2143,7 @@ void WW8TabDesc::CalcDefaults()
// 2. pass: Detect number of writer columns. This can exceed the count
// of columns in WW by 2, because SW in constrast to WW does not provide
// fringed left and right borders and has to fill with empty boxes.
- // Non exisitent cells can reduce the number of columns.
+ // Non existent cells can reduce the number of columns.
// 3. pass: Replace border with defaults if needed
nConvertedLeft = nMinLeft;
@@ -2884,7 +2884,7 @@ bool WW8TabDesc::SetPamInCell(short nWwCol, bool bPam)
pIo->SetLowerSpacing(*pIo->m_pPaM, 0);
//We need to set the pPaM on the first cell, invalid
- //or not so that we can collect paragraph proproties over
+ //or not so that we can collect paragraph properties over
//all the cells, but in that case on the valid cell we do not
//want to reset the fmt properties
sal_uLong nSttNd = pTabBox->GetSttIdx() + 1,
diff --git a/sw/source/filter/ww8/ww8par5.cxx b/sw/source/filter/ww8/ww8par5.cxx
index 454d04a86c05..cdfa30f11b71 100644
--- a/sw/source/filter/ww8/ww8par5.cxx
+++ b/sw/source/filter/ww8/ww8par5.cxx
@@ -2532,7 +2532,7 @@ eF_ResT SwWW8ImplReader::Read_F_DBNum( WW8FieldDesc*, OUString& )
/*
EQ , only the usage for
a. Combined Characters supported, must be exactly in the form that word
- only accepts as combined charactersm, i.e.
+ only accepts as combined characters, i.e.
eq \o(\s\up Y(XXX),\s\do Y(XXX))
b. Ruby Text supported, must be in the form that word recognizes as being
ruby text
diff --git a/sw/source/filter/ww8/ww8par6.cxx b/sw/source/filter/ww8/ww8par6.cxx
index 2a9da61281e7..092f5650f3eb 100644
--- a/sw/source/filter/ww8/ww8par6.cxx
+++ b/sw/source/filter/ww8/ww8par6.cxx
@@ -2522,7 +2522,7 @@ void SwWW8ImplReader::StopApo()
{
//If the last anchor pos is here, then clear the anchor pos.
//This "last anchor pos" is only used for fixing up the
- //postions of things anchored to page breaks and here
+ //positions of things anchored to page breaks and here
//we are removing the last paragraph of a frame, so there
//cannot be a page break at this point so we can
//safely reset m_pLastAnchorPos to avoid any dangling
diff --git a/sw/source/filter/ww8/ww8scan.cxx b/sw/source/filter/ww8/ww8scan.cxx
index 01da4a164471..d3481edc8f53 100644
--- a/sw/source/filter/ww8/ww8scan.cxx
+++ b/sw/source/filter/ww8/ww8scan.cxx
@@ -1838,7 +1838,7 @@ static bool WW8GetFieldPara(WW8PLCFspecial& rPLCF, WW8FieldDesc& rF)
}
rF.nLen = rF.nLRes - rF.nSCode + 2; // nLRes is still the final position
rF.nLRes -= rF.nSRes; // now: nLRes = length
- rF.nSRes++; // Endpos encluding Markers
+ rF.nSRes++; // Endpos including Markers
rF.nLRes--;
}else{
rF.nLRes = 0; // no result found
@@ -6848,7 +6848,7 @@ WW8Fonts::WW8Fonts( SvStream& rSt, WW8Fib& rFib )
nMax = nCalcMax;
else
{
- //newer versions include purportive count of fonts, so take min of that
+ //newer versions include supportive count of fonts, so take min of that
//and calced max
nMax = std::min(nMax, nCalcMax);
}
diff --git a/sw/source/filter/ww8/ww8toolbar.cxx b/sw/source/filter/ww8/ww8toolbar.cxx
index f5b85c9a2275..2a742925dcd0 100644
--- a/sw/source/filter/ww8/ww8toolbar.cxx
+++ b/sw/source/filter/ww8/ww8toolbar.cxx
@@ -684,7 +684,7 @@ SwTBC::ImportToolBarControl( SwCTBWrapper& rWrapper, const css::uno::Reference<
SAL_INFO("sw.ww8","cmt is cmtAllocated [???] 0x" << std::hex << arg2);
break;
case 7:
- SAL_INFO("sw.ww8","cmt is cmNill no-phing 0x" << std::hex << arg2);
+ SAL_INFO("sw.ww8","cmt is cmNill no-thing 0x" << std::hex << arg2);
break;
default:
SAL_INFO("sw.ww8","illegal 0x" << std::hex << cmt);
diff --git a/sw/source/filter/xml/XMLRedlineImportHelper.cxx b/sw/source/filter/xml/XMLRedlineImportHelper.cxx
index 73b6d293d3f3..772f0e062dd7 100644
--- a/sw/source/filter/xml/XMLRedlineImportHelper.cxx
+++ b/sw/source/filter/xml/XMLRedlineImportHelper.cxx
@@ -423,7 +423,7 @@ void XMLRedlineImportHelper::Add(
{
// 3b) we already have a redline with this name: hierarchical redlines
// insert pInfo as last element in the chain.
- // (hierarchy sanity checking happens on insertino into the document)
+ // (hierarchy sanity checking happens on inserting into the document)
// find last element
RedlineInfo* pInfoChain;
diff --git a/sw/source/filter/xml/swxml.cxx b/sw/source/filter/xml/swxml.cxx
index 63be8a31c178..a784f43cafdc 100644
--- a/sw/source/filter/xml/swxml.cxx
+++ b/sw/source/filter/xml/swxml.cxx
@@ -916,7 +916,7 @@ sal_uLong XMLReader::Read( SwDoc &rDoc, const OUString& rBaseURL, SwPaM &rPaM, c
// ... restore redline mode
// (First set bogus mode to make sure the mode in getIDocumentRedlineAccess().SetRedlineMode()
- // is different from it's previous mode.)
+ // is different from its previous mode.)
rDoc.getIDocumentRedlineAccess().SetRedlineMode_intern((RedlineMode_t)( ~nRedlineMode ));
rDoc.getIDocumentRedlineAccess().SetRedlineMode( (RedlineMode_t)( nRedlineMode ));
diff --git a/sw/source/filter/xml/xmltbli.cxx b/sw/source/filter/xml/xmltbli.cxx
index a5ec78a33e5f..eda3db88f092 100644
--- a/sw/source/filter/xml/xmltbli.cxx
+++ b/sw/source/filter/xml/xmltbli.cxx
@@ -2259,7 +2259,7 @@ SwTableLine *SwXMLTableContext::MakeTableLine( SwTableBox *pUpper,
}
else
{
- // No subtabels: We use the new table model.
+ // No subtables: we use the new table model.
SwXMLTableCell_Impl *pCell = GetCell(nTopRow,nCol);
// #i95726# - some fault tolerance
@@ -2332,7 +2332,7 @@ SwTableLine *SwXMLTableContext::MakeTableLine( SwTableBox *pUpper,
// column, and the remaining fragment could be divided
// into lines. Anyway, it could be that this applies to
// the next column, too. That for, we check the next
- // column but rememeber the current one as a good place to
+ // column but remember the current one as a good place to
// split.
nSplitCol = nCol + 1UL;
}