summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-06-15 19:44:53 +0200
committerMichael Stahl <mstahl@redhat.com>2015-06-16 11:14:55 +0000
commitf378e723d2dbcbdeb65d7843c095d70d0bb7e0e0 (patch)
tree245e49f0afad73f582d42a89bdbdcb9717651fdd /sw
parentca9de688c2c263c51dca1cbbf2892e3b419f921e (diff)
Fix typos
Change-Id: I528752dfabeb31d14c350f79819b521537ab9b56 Reviewed-on: https://gerrit.libreoffice.org/16300 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/text/EnhancedPDFExportHelper.cxx2
-rw-r--r--sw/source/core/text/itrcrsr.cxx2
-rw-r--r--sw/source/core/text/txthyph.cxx2
-rw-r--r--sw/source/filter/ww8/docxattributeoutput.cxx2
-rw-r--r--sw/source/filter/ww8/ww8par.cxx2
5 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/core/text/EnhancedPDFExportHelper.cxx b/sw/source/core/text/EnhancedPDFExportHelper.cxx
index 36e94e2dc768..e8b787bf908f 100644
--- a/sw/source/core/text/EnhancedPDFExportHelper.cxx
+++ b/sw/source/core/text/EnhancedPDFExportHelper.cxx
@@ -330,7 +330,7 @@ bool SwTaggedPDFHelper::CheckReopenTag()
// - rFrm is not the first page frame (reopen Document tag)
// - rFrm is a follow frame (reopen Master tag)
// - rFrm is a fly frame anchored at content (reopen Anchor paragraph tag)
- // - rFrm is a fly frame anchord at page (reopen Document tag)
+ // - rFrm is a fly frame anchored at page (reopen Document tag)
// - rFrm is a follow flow row (reopen TableRow tag)
// - rFrm is a cell frame in a follow flow row (reopen TableData tag)
if ( ( rFrm.IsPageFrm() && static_cast<const SwPageFrm&>(rFrm).GetPrev() ) ||
diff --git a/sw/source/core/text/itrcrsr.cxx b/sw/source/core/text/itrcrsr.cxx
index 94e8ef05b186..2f73c228b271 100644
--- a/sw/source/core/text/itrcrsr.cxx
+++ b/sw/source/core/text/itrcrsr.cxx
@@ -1644,7 +1644,7 @@ sal_Int32 SwTextCursor::GetCrsrOfst( SwPosition *pPos, const Point &rPoint,
if ( nSpaceAdd )
{
sal_Int32 nCharCnt = 0;
- // #i41860# Thai justified alignemt needs some
+ // #i41860# Thai justified alignment needs some
// additional information:
aDrawInf.SetNumberOfBlanks( pPor->InTextGrp() ?
static_cast<const SwTextPortion*>(pPor)->GetSpaceCnt( aSizeInf, nCharCnt ) :
diff --git a/sw/source/core/text/txthyph.cxx b/sw/source/core/text/txthyph.cxx
index 9ced752ad8aa..8a410b31c565 100644
--- a/sw/source/core/text/txthyph.cxx
+++ b/sw/source/core/text/txthyph.cxx
@@ -272,7 +272,7 @@ bool SwTextPortion::CreateHyphen( SwTextFormatInfo &rInf, SwTextGuess &rGuess )
{
SvxAlternativeSpelling aAltSpell;
aAltSpell = SvxGetAltSpelling( xHyphWord );
- OSL_ENSURE( aAltSpell.bIsAltSpelling, "no alternatve spelling" );
+ OSL_ENSURE( aAltSpell.bIsAltSpelling, "no alternative spelling" );
OUString aAltText = aAltSpell.aReplacement;
nPorEnd = aAltSpell.nChangedPos + rGuess.BreakStart() - rGuess.FieldDiff();
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index e5111e1073d1..8db81f9c9074 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -461,7 +461,7 @@ void DocxAttributeOutput::EndParagraph( ww8::WW8TableNodeInfoInner::Pointer_t pT
XML_Requires, "wps",
FSEND);
/**
- This is to avoid AltenateContent within another AlternateContent.
+ This is to avoid AlternateContent within another AlternateContent.
So when Choice is Open, only write the DML Drawing instead of both DML
and VML Drawing in another AlternateContent.
**/
diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx
index 9a1165e7c0a6..e59e0ecd6946 100644
--- a/sw/source/filter/ww8/ww8par.cxx
+++ b/sw/source/filter/ww8/ww8par.cxx
@@ -3211,7 +3211,7 @@ namespace
// hack the word one onto the range we use. However it's unclear what word's
// categorization is. So we don't do that here yet.
-// Additional to the categorization, when word encounters weak text for ambigious
+// Additional to the categorization, when word encounters weak text for ambiguos
// chars it uses idcthint to indicate which way to bias. We don't have a idcthint
// feature in writer.