summaryrefslogtreecommitdiff
path: root/sw/source/core
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-06-15 17:03:57 +0200
committerMichael Stahl <mstahl@redhat.com>2015-06-16 11:05:58 +0000
commit01532b1ab8f34ac0a87c17efaa2e6c7e9ac29b3b (patch)
treee4ca01d348aaee1ba6113c7b2e128a00dce66f3b /sw/source/core
parent9b7e1bf43dcb25acabc15fb2bfb30e2a1dd249df (diff)
Fix typos
Change-Id: I28cfc629dc3d6ef54128615452667ccce86c1072 Reviewed-on: https://gerrit.libreoffice.org/16297 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sw/source/core')
-rw-r--r--sw/source/core/inc/rootfrm.hxx2
-rw-r--r--sw/source/core/layout/dbg_lay.cxx2
-rw-r--r--sw/source/core/layout/ftnfrm.cxx2
-rw-r--r--sw/source/core/text/txtfrm.cxx2
-rw-r--r--sw/source/core/view/pagepreviewlayout.cxx2
5 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/core/inc/rootfrm.hxx b/sw/source/core/inc/rootfrm.hxx
index 44952adfe692..fe0d6b0d0840 100644
--- a/sw/source/core/inc/rootfrm.hxx
+++ b/sw/source/core/inc/rootfrm.hxx
@@ -111,7 +111,7 @@ class SwRootFrm: public SwLayoutFrm
* Because sometimes it matters which shell is used, it is necessary to
* know the active shell.
* this is approximated by setting the pointer mpCurrShell when a
- * shell gets the focus (FEShell). Acditionally the pointer will be
+ * shell gets the focus (FEShell). Additionally the pointer will be
* set temporarily by SwCurrShell typically via SET_CURR_SHELL
* The macro and class can be found in the SwViewShell. These object can
* be created nested (also for different kinds of Shells). They are
diff --git a/sw/source/core/layout/dbg_lay.cxx b/sw/source/core/layout/dbg_lay.cxx
index c49e13b02b39..b2bd9785432d 100644
--- a/sw/source/core/layout/dbg_lay.cxx
+++ b/sw/source/core/layout/dbg_lay.cxx
@@ -213,7 +213,7 @@ void SwProtocol::Record( const SwFrm* pFrm, sal_uLong nFunction, sal_uLong nAct,
nRecord &= ~PROT_INIT; // Always reset PROT_INIT
return;
}
- nRecord |= nFunction; // Acitivate logging of this function
+ nRecord |= nFunction; // Activate logging of this function
nRecord &= ~PROT_INIT; // Always reset PROT_INIT
if( pImpl )
pImpl->ChkStream();
diff --git a/sw/source/core/layout/ftnfrm.cxx b/sw/source/core/layout/ftnfrm.cxx
index ca53eda8e784..7a77ea6a476a 100644
--- a/sw/source/core/layout/ftnfrm.cxx
+++ b/sw/source/core/layout/ftnfrm.cxx
@@ -1288,7 +1288,7 @@ void SwFootnoteBossFrm::InsertFootnote( SwFootnoteFrm* pNew )
}
}
// pLastSib is the last footnote before the new one and
- // pSibling is empty or the first one afterw the new one
+ // pSibling is empty or the first one after the new one
if ( pSibling && pLastSib && (pSibling != pLastSib) )
{
// too far?
diff --git a/sw/source/core/text/txtfrm.cxx b/sw/source/core/text/txtfrm.cxx
index 07e45f91c601..c5fe92030ee5 100644
--- a/sw/source/core/text/txtfrm.cxx
+++ b/sw/source/core/text/txtfrm.cxx
@@ -2508,7 +2508,7 @@ void SwTextFrm::RecalcAllLines()
if ( !IsFollow() && rLineNum.GetStartValue() && rLineNum.IsCount() )
nNewNum = rLineNum.GetStartValue() - 1;
// If it is a follow or not has not be considered if it is a restart at each page; the
- // restart should also take affekt at follows.
+ // restart should also take effect at follows.
else if ( bRestart && FindPageFrm()->FindFirstBodyContent() == this )
{
nNewNum = 0;
diff --git a/sw/source/core/view/pagepreviewlayout.cxx b/sw/source/core/view/pagepreviewlayout.cxx
index 2055c09a42d7..e2f8fc731905 100644
--- a/sw/source/core/view/pagepreviewlayout.cxx
+++ b/sw/source/core/view/pagepreviewlayout.cxx
@@ -1130,7 +1130,7 @@ bool SwPagePreviewLayout::Paint(vcl::RenderContext& rRenderContext, const Rectan
// print preview layout is created during paint.
if ( !mbNewLayoutDuringPaint )
{
- // update at accessiblilty interface
+ // update at accessibility interface
mrParentViewShell.Imp()->UpdateAccessiblePreview(
maPreviewPages,
aMapMode.GetScaleX(),