summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2017-04-15 04:00:20 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-04-15 10:13:34 +0200
commit9f5a275a42659339ee41c4e0a4d860f2886470e4 (patch)
treebdcc6903db1d6f37d4b91e80aa87d1d4874a5c2d /sw
parent04edc5c796c1b96e5228d0c1fcf73bcf52465b66 (diff)
Fix typos
Change-Id: I0238202c0dc0380b0e33a9c4567a9513c0afbe91 Reviewed-on: https://gerrit.libreoffice.org/36556 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/objectpositioning/tolayoutanchoredobjectposition.cxx2
-rw-r--r--sw/source/core/text/itratr.cxx4
-rw-r--r--sw/source/filter/html/htmlsect.cxx2
3 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/objectpositioning/tolayoutanchoredobjectposition.cxx b/sw/source/core/objectpositioning/tolayoutanchoredobjectposition.cxx
index 0e08bb889593..268914f3abd8 100644
--- a/sw/source/core/objectpositioning/tolayoutanchoredobjectposition.cxx
+++ b/sw/source/core/objectpositioning/tolayoutanchoredobjectposition.cxx
@@ -68,7 +68,7 @@ void SwToLayoutAnchoredObjectPosition::CalcPosition()
SwFormatVertOrient aVert( rFrameFormat.GetVertOrient() );
{
// to-frame anchored objects are *only* vertical positioned centered or
- // bottom, if its wrap mode is 'throught' and its anchor frame has fixed
+ // bottom, if its wrap mode is 'through' and its anchor frame has fixed
// size. Otherwise, it's positioned top.
sal_Int16 eVertOrient = aVert.GetVertOrient();
if ( ( bFlyAtFly &&
diff --git a/sw/source/core/text/itratr.cxx b/sw/source/core/text/itratr.cxx
index 4bcc6987705d..55fbbadeb126 100644
--- a/sw/source/core/text/itratr.cxx
+++ b/sw/source/core/text/itratr.cxx
@@ -210,7 +210,7 @@ void SwAttrIter::SeekFwd( const sal_Int32 nNewPos )
m_nEndIndex++;
}
}
- else // skip the not opended ends
+ else // skip the not opened ends
{
while ( (m_nEndIndex < m_pHints->Count()) &&
(*m_pHints->GetSortedByEnd(m_nEndIndex)->GetAnyEnd() <= nNewPos) )
@@ -220,7 +220,7 @@ void SwAttrIter::SeekFwd( const sal_Int32 nNewPos )
}
// As long as we've not yet reached the end of EndArray and the
- // TextAttribute ends before or at the new position ...
+ // TextAttribute ends before or at the new position...
while ( ( m_nStartIndex < m_pHints->Count() ) &&
((pTextAttr=m_pHints->Get(m_nStartIndex))->GetStart()<=nNewPos) )
{
diff --git a/sw/source/filter/html/htmlsect.cxx b/sw/source/filter/html/htmlsect.cxx
index 587e366debcb..adbd6a190835 100644
--- a/sw/source/filter/html/htmlsect.cxx
+++ b/sw/source/filter/html/htmlsect.cxx
@@ -237,7 +237,7 @@ void SwHTMLParser::NewDivision( int nToken )
// We only insert sections into frames if the section is linked.
if( (!aId.isEmpty() && !bPositioned) || !aHRef.isEmpty() )
{
- // Insert section (has to be done before setting of attribures,
+ // Insert section (has to be done before setting of attributes,
// because the section is inserted before the PaM position.
// If we are in the first node of a section, we insert the section