summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8
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 /sw/source/filter/ww8
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 'sw/source/filter/ww8')
-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
16 files changed, 23 insertions, 23 deletions
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index 4c5851e373e2..7958bf7eb315 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();
@@ -5619,7 +5619,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 f3c0409729ae..8a3b3948c063 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 d42389f93633..aeeced99907d 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 e0958e332da2..c3d46f15e441 100644
--- a/sw/source/filter/ww8/wrtw8nds.cxx
+++ b/sw/source/filter/ww8/wrtw8nds.cxx
@@ -2164,7 +2164,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 f32281d3f584..e2ef06c19573 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 04203c352cd3..2dae4927f2c4 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 );
@@ -6293,7 +6293,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 65632bd9d90b..425b32388d82 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 d04418b3b0d6..b8457e713cc7 100644
--- a/sw/source/filter/ww8/ww8par5.cxx
+++ b/sw/source/filter/ww8/ww8par5.cxx
@@ -2495,7 +2495,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 3dda138a172b..66c18b14fecc 100644
--- a/sw/source/filter/ww8/ww8scan.cxx
+++ b/sw/source/filter/ww8/ww8scan.cxx
@@ -1839,7 +1839,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
@@ -6856,7 +6856,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 2a2eaab5fd2e..e1180b3c6a64 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);