summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-06-15 17:03:57 +0200
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2016-02-06 09:12:27 -0500
commit9869d08f3f69d9ccc39eeb30fa046784de8259a9 (patch)
tree39f1fc636b398224ebf6b9834c0c7c881b81c564 /sw
parent348aaa3ef634674d123b1a1e72f062fd3783af8f (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> (cherry picked from commit 01532b1ab8f34ac0a87c17efaa2e6c7e9ac29b3b)
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/IDocumentFieldsAccess.hxx2
-rw-r--r--sw/inc/docsh.hxx2
-rw-r--r--sw/inc/swtable.hxx2
-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
-rw-r--r--sw/source/filter/ww8/docxsdrexport.cxx2
-rw-r--r--sw/source/ui/fldui/flddinf.cxx2
-rw-r--r--sw/source/uibase/app/docshini.cxx2
11 files changed, 11 insertions, 11 deletions
diff --git a/sw/inc/IDocumentFieldsAccess.hxx b/sw/inc/IDocumentFieldsAccess.hxx
index 3d8f3e5db324..ccef319e05e0 100644
--- a/sw/inc/IDocumentFieldsAccess.hxx
+++ b/sw/inc/IDocumentFieldsAccess.hxx
@@ -117,7 +117,7 @@ namespace com { namespace sun { namespace star { namespace uno { class Any; } }
// In Calculator set all SetExpression fields that are valid up to the indicated position
// (Node [ + ::com::sun::star::ucb::Content]).
// A generated list of all fields may be passed along too
- // (if the addreess != 0 and the pointer == 0 a new list will be returned).
+ // (if the address != 0 and the pointer == 0 a new list will be returned).
virtual void FieldsToCalc(SwCalc& rCalc, sal_uLong nLastNd, sal_uInt16 nLastCnt) = 0;
virtual void FieldsToCalc(SwCalc& rCalc, const _SetGetExpField& rToThisField) = 0;
diff --git a/sw/inc/docsh.hxx b/sw/inc/docsh.hxx
index 66b3a90992f2..7c13a67ea3bd 100644
--- a/sw/inc/docsh.hxx
+++ b/sw/inc/docsh.hxx
@@ -223,7 +223,7 @@ public:
const SwView *GetView() const { return m_pView; }
SwView *GetView() { return m_pView; }
- /// Accress to the SwWrtShell belonging to SwView.
+ /// Access to the SwWrtShell belonging to SwView.
SwWrtShell *GetWrtShell() { return m_pWrtShell; }
const SwWrtShell *GetWrtShell() const { return m_pWrtShell; }
// Same as GetWrtShell, but return pointer to SwEditShell base of
diff --git a/sw/inc/swtable.hxx b/sw/inc/swtable.hxx
index f3197b567a9d..c7fd4c7d3b49 100644
--- a/sw/inc/swtable.hxx
+++ b/sw/inc/swtable.hxx
@@ -452,7 +452,7 @@ public:
// Empty boxes have the return value USHRT_MAX !!
sal_uInt16 IsFormulaOrValueBox() const;
- // Loading of a document requires an actualisation of cells with values
+ // Loading of a document requires an actualization of cells with values
void ActualiseValueBox();
DECL_FIXEDMEMPOOL_NEWDEL(SwTableBox)
diff --git a/sw/source/core/inc/rootfrm.hxx b/sw/source/core/inc/rootfrm.hxx
index 6b2ea416538b..e6666975db2f 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 81eacff86cd5..d4ac08da2acc 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 a4a707f9133a..f3180ec5ca0d 100644
--- a/sw/source/core/text/txtfrm.cxx
+++ b/sw/source/core/text/txtfrm.cxx
@@ -2519,7 +2519,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 26ff858ce3ac..a1c820de9101 100644
--- a/sw/source/core/view/pagepreviewlayout.cxx
+++ b/sw/source/core/view/pagepreviewlayout.cxx
@@ -1154,7 +1154,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(),
diff --git a/sw/source/filter/ww8/docxsdrexport.cxx b/sw/source/filter/ww8/docxsdrexport.cxx
index ff9d5d5dae00..a389f6a776b8 100644
--- a/sw/source/filter/ww8/docxsdrexport.cxx
+++ b/sw/source/filter/ww8/docxsdrexport.cxx
@@ -572,7 +572,7 @@ void DocxSdrExport::startDMLAnchorInline(const SwFrameFormat* pFrameFormat, cons
* reference : http://www.schemacentral.com/sc/ooxml/e-wp_extent-1.html
*
* Though ECMA mentions the max value as aforementioned. It appears that MSO does not
- * handle for the same, infact it acutally can handles a max value of int32 i.e
+ * handle for the same, infact it actually can handles a max value of int32 i.e
* 2147483647( MAX_INTEGER_VALUE ).
* Therefore changing the following accordingly so that LO sync's up with MSO.
**/
diff --git a/sw/source/ui/fldui/flddinf.cxx b/sw/source/ui/fldui/flddinf.cxx
index fe8e4feb0e93..4385b64cd4f3 100644
--- a/sw/source/ui/fldui/flddinf.cxx
+++ b/sw/source/ui/fldui/flddinf.cxx
@@ -74,7 +74,7 @@ SwFieldDokInfPage::SwFieldDokInfPage(vcl::Window* pParent, const SfxItemSet& rCo
m_pTypeTLB->SetSelectionMode(SINGLE_SELECTION);
m_pTypeTLB->SetStyle(m_pTypeTLB->GetStyle()|WB_HASLINES|WB_CLIPCHILDREN|WB_SORT|WB_HASBUTTONS|WB_HASBUTTONSATROOT|WB_HSCROLL);
m_pTypeTLB->SetOptimalImageIndent();
- // Don't set font, so that the control's font is adobted!
+ // Don't set font, so that the control's font is adopted!
// Otherwise at wrong font bug to OV.
m_pTypeTLB->SetSpaceBetweenEntries(0);
diff --git a/sw/source/uibase/app/docshini.cxx b/sw/source/uibase/app/docshini.cxx
index fca4e2e44657..a774e66b11e5 100644
--- a/sw/source/uibase/app/docshini.cxx
+++ b/sw/source/uibase/app/docshini.cxx
@@ -300,7 +300,7 @@ bool SwDocShell::InitNew( const uno::Reference < embed::XStorage >& xStor )
}
/* #106748# If the default frame direction of a document is RTL
- the default adjusment is to the right. */
+ the default adjustment is to the right. */
if( !bHTMLTemplSet &&
FRMDIR_HORI_RIGHT_TOP == GetDefaultFrameDirection(GetAppLanguage()) )
{