summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-09-29 18:11:39 +0200
committerJoren De Cuyper <jorendc@libreoffice.org>2015-09-29 22:22:24 +0000
commitef1bafb588eb20a5d35df14e79a1a948885c721a (patch)
tree705a48a6beabffbebfd39038c18a19f0fea38673
parenta936097614b5aaa51e123323da8f275575e165f8 (diff)
Fix typos
Change-Id: Ifb7b1f0e4cffb575f6af7437bbca6c4c22a9c00e Reviewed-on: https://gerrit.libreoffice.org/18985 Reviewed-by: Joren De Cuyper <jorendc@libreoffice.org> Tested-by: Joren De Cuyper <jorendc@libreoffice.org>
-rw-r--r--sw/source/core/frmedt/fecopy.cxx4
-rw-r--r--sw/source/core/frmedt/fetab.cxx2
-rw-r--r--sw/source/core/frmedt/tblsel.cxx2
-rw-r--r--sw/source/core/inc/DocumentLayoutManager.hxx2
-rw-r--r--sw/source/core/inc/node2lay.hxx2
-rw-r--r--sw/source/core/inc/scriptinfo.hxx2
-rw-r--r--sw/source/core/layout/anchoreddrawobject.cxx2
-rw-r--r--sw/source/core/layout/atrfrm.cxx2
-rw-r--r--sw/source/core/layout/flowfrm.cxx2
-rw-r--r--sw/source/core/layout/fly.cxx2
-rw-r--r--sw/source/core/layout/frmtool.cxx2
-rw-r--r--sw/source/core/layout/layact.cxx4
-rw-r--r--sw/source/core/layout/pagechg.cxx2
-rw-r--r--sw/source/core/layout/pagedesc.cxx2
-rw-r--r--sw/source/core/layout/paintfrm.cxx6
15 files changed, 19 insertions, 19 deletions
diff --git a/sw/source/core/frmedt/fecopy.cxx b/sw/source/core/frmedt/fecopy.cxx
index da98b59e6aae..df8d85254f93 100644
--- a/sw/source/core/frmedt/fecopy.cxx
+++ b/sw/source/core/frmedt/fecopy.cxx
@@ -642,7 +642,7 @@ bool SwFEShell::Copy( SwFEShell* pDestShell, const Point& rSttPt,
pDestShell->GetDoc()->getIDocumentRedlineAccess().SetRedlineMode_intern( eOldRedlMode );
mpDoc->SetCopyIsMove( bCopyIsMove );
- // have new table formules been inserted?
+ // have new table formulas been inserted?
if( pTableFieldTyp->HasWriterListeners() )
{
// finish old actions: the table frames are created and
@@ -661,7 +661,7 @@ bool SwFEShell::Copy( SwFEShell* pDestShell, const Point& rSttPt,
return bRet;
}
-// Paste for the interal clipboard. Copy the content of the clipboard
+// Paste for the internal clipboard. Copy the content of the clipboard
// in the document
namespace {
typedef std::shared_ptr<SwPaM> PaMPtr;
diff --git a/sw/source/core/frmedt/fetab.cxx b/sw/source/core/frmedt/fetab.cxx
index f996e1e1273d..8fcd6b3e5bc3 100644
--- a/sw/source/core/frmedt/fetab.cxx
+++ b/sw/source/core/frmedt/fetab.cxx
@@ -1084,7 +1084,7 @@ sal_uInt16 SwFEShell::GetRowSelectionFromTop() const
* a follow frame
*
* 2. case: bRepeat = false
- * returns true if the current frame is localed inside a table headline OR
+ * returns true if the current frame is located inside a table headline OR
* inside the first line of a table!!!
*/
bool SwFEShell::CheckHeadline( bool bRepeat ) const
diff --git a/sw/source/core/frmedt/tblsel.cxx b/sw/source/core/frmedt/tblsel.cxx
index 26ef88ff2753..99b4e9edc926 100644
--- a/sw/source/core/frmedt/tblsel.cxx
+++ b/sw/source/core/frmedt/tblsel.cxx
@@ -874,7 +874,7 @@ bool IsEmptyBox( const SwTableBox& rBox, SwPaM& rPam )
if( bRet )
{
- // now check for paragraph bound flyes
+ // now check for paragraph bound flies
const SwFrameFormats& rFormats = *rPam.GetDoc()->GetSpzFrameFormats();
sal_uLong nSttIdx = rPam.GetPoint()->nNode.GetIndex(),
nEndIdx = rBox.GetSttNd()->EndOfSectionIndex(),
diff --git a/sw/source/core/inc/DocumentLayoutManager.hxx b/sw/source/core/inc/DocumentLayoutManager.hxx
index b6c144107778..325851735e84 100644
--- a/sw/source/core/inc/DocumentLayoutManager.hxx
+++ b/sw/source/core/inc/DocumentLayoutManager.hxx
@@ -38,7 +38,7 @@ public:
DocumentLayoutManager( SwDoc& i_rSwdoc );
virtual const SwViewShell *GetCurrentViewShell() const SAL_OVERRIDE;
- virtual SwViewShell *GetCurrentViewShell() SAL_OVERRIDE; //< It must be able to communicate to a SwViewShell.This is going to be removerd later.
+ virtual SwViewShell *GetCurrentViewShell() SAL_OVERRIDE; //< It must be able to communicate to a SwViewShell.This is going to be removed later.
virtual void SetCurrentViewShell( SwViewShell* pNew ) SAL_OVERRIDE;
virtual const SwRootFrm *GetCurrentLayout() const SAL_OVERRIDE;
diff --git a/sw/source/core/inc/node2lay.hxx b/sw/source/core/inc/node2lay.hxx
index 8ae69dea3730..923d02c9b015 100644
--- a/sw/source/core/inc/node2lay.hxx
+++ b/sw/source/core/inc/node2lay.hxx
@@ -33,7 +33,7 @@
*
* This class is an interface between the method and a SwClientIter: it
* chooses the right SwModify depending on the task, creates a SwClientIter
- * and filters its iterations depeding on the task.
+ * and filters its iterations depending on the task.
* The task is determined by the choice of ctor.
*
* 1. Collecting the UpperFrms (so that later on it becomes RestoreUpperFrms)
diff --git a/sw/source/core/inc/scriptinfo.hxx b/sw/source/core/inc/scriptinfo.hxx
index 5ad950fd4d8b..ee476ac983e4 100644
--- a/sw/source/core/inc/scriptinfo.hxx
+++ b/sw/source/core/inc/scriptinfo.hxx
@@ -299,7 +299,7 @@ public:
/** retrieves kashida opportunities for a given text range.
returns the number of kashida positions in the given text range
- pKashidaPositions: buffer to reveive the char indices of the
+ pKashidaPositions: buffer to receive the char indices of the
kashida opportunties relative to the paragraph
*/
sal_Int32 GetKashidaPositions(sal_Int32 nStt, sal_Int32 nLen,
diff --git a/sw/source/core/layout/anchoreddrawobject.cxx b/sw/source/core/layout/anchoreddrawobject.cxx
index 00ae70fc40f8..e32e3577a62a 100644
--- a/sw/source/core/layout/anchoreddrawobject.cxx
+++ b/sw/source/core/layout/anchoreddrawobject.cxx
@@ -246,7 +246,7 @@ void SwAnchoredDrawObject::MakeObjPos()
{
if ( IsPositioningInProgress() )
{
- // nothind to do - positioning already in progress
+ // nothing to do - positioning already in progress
return;
}
diff --git a/sw/source/core/layout/atrfrm.cxx b/sw/source/core/layout/atrfrm.cxx
index a1512f46507b..4a1b5494a5ce 100644
--- a/sw/source/core/layout/atrfrm.cxx
+++ b/sw/source/core/layout/atrfrm.cxx
@@ -1705,7 +1705,7 @@ bool SwFormatAnchor::PutValue( const uno::Any& rVal, sal_uInt8 nMemberId )
if (FLY_AT_PAGE == GetAnchorId())
{
// If the anchor type is page and a valid page number
- // is set, the content paoition has to be deleted to not
+ // is set, the content position has to be deleted to not
// confuse the layout (frmtool.cxx). However, if the
// anchor type is not page, any content position will
// be kept.
diff --git a/sw/source/core/layout/flowfrm.cxx b/sw/source/core/layout/flowfrm.cxx
index 5e22d59a90f3..d26e7c04a3ce 100644
--- a/sw/source/core/layout/flowfrm.cxx
+++ b/sw/source/core/layout/flowfrm.cxx
@@ -791,7 +791,7 @@ bool SwFrm::WrongPageDesc( SwPageFrm* pNew )
{
// Now it's getting a bit complicated:
- // Maybe i'm bringing a Pagedesc myself; in that case,
+ // Maybe I'm bringing a Pagedesc myself; in that case,
// the pagedesc of the next page needs to correspond.
// Otherwise, I'll have to dig a bit deeper to see where
// the following Pagedesc is coming from.
diff --git a/sw/source/core/layout/fly.cxx b/sw/source/core/layout/fly.cxx
index 311cb61950f8..47838b1a046c 100644
--- a/sw/source/core/layout/fly.cxx
+++ b/sw/source/core/layout/fly.cxx
@@ -776,7 +776,7 @@ void SwFlyFrm::_UpdateAttr( const SfxPoolItem *pOld, const SfxPoolItem *pNew,
// wrapping style.
//rInvFlags |= 0x40;
rInvFlags |= 0x41;
- // The background needs to messaged and invalidated
+ // The background needs to be messaged and invalidated
const SwRect aTmp( GetObjRectWithSpaces() );
NotifyBackground( FindPageFrm(), aTmp, PREP_FLY_ATTR_CHG );
diff --git a/sw/source/core/layout/frmtool.cxx b/sw/source/core/layout/frmtool.cxx
index e9abe6c4f89f..829faaefea89 100644
--- a/sw/source/core/layout/frmtool.cxx
+++ b/sw/source/core/layout/frmtool.cxx
@@ -1299,7 +1299,7 @@ void _InsertCnt( SwLayoutFrm *pLay, SwDoc *pDoc,
//If the page breaks, for "open" sections a follow will created.
//For nested sections (which have, however, not a nested layout),
//the SwActualSection class has a member, which points to an upper(section).
- //When the "inner" section finishs, the upper will used instead.
+ //When the "inner" section finishes, the upper will used instead.
while( true )
{
diff --git a/sw/source/core/layout/layact.cxx b/sw/source/core/layout/layact.cxx
index cf748d4aba5f..085b7aa81312 100644
--- a/sw/source/core/layout/layact.cxx
+++ b/sw/source/core/layout/layact.cxx
@@ -2229,9 +2229,9 @@ SwLayIdle::SwLayIdle( SwRootFrm *pRt, SwViewShellImp *pI ) :
{
// UnlockPaint overwrite the selection from the
// CrsrShell and calls the virtual method paint
- // to fill the virtual device. This fill dont have
+ // to fill the virtual device. This fill don't have
// paint the selection! -> Set the focus flag at
- // CrsrShell and it dont paint the selection.
+ // CrsrShell and it doesn't paint the selection.
pCrsrShell->ShLooseFcs();
pCrsrShell->UnlockPaint( true );
pCrsrShell->ShGetFcs( false );
diff --git a/sw/source/core/layout/pagechg.cxx b/sw/source/core/layout/pagechg.cxx
index b806c2a6e3a8..68854e4c42a0 100644
--- a/sw/source/core/layout/pagechg.cxx
+++ b/sw/source/core/layout/pagechg.cxx
@@ -2149,7 +2149,7 @@ void SwRootFrm::CheckViewLayout( const SwViewOption* pViewOpt, const SwRect* pVi
}
else
{
- // in non-book view, dont add x gap before
+ // in non-book view, don't add x gap before
// 1. the last empty page in a row
// 2. after an empty page
const bool bDontAddGap = ( pPageToAdjust->IsEmptyPage() && pPageToAdjust->GetNext() == pEndOfRow ) ||
diff --git a/sw/source/core/layout/pagedesc.cxx b/sw/source/core/layout/pagedesc.cxx
index d03673acb70a..a82518b440b5 100644
--- a/sw/source/core/layout/pagedesc.cxx
+++ b/sw/source/core/layout/pagedesc.cxx
@@ -165,7 +165,7 @@ const SwTextFormatColl* SwPageDesc::GetRegisterFormatColl() const
return static_cast<const SwTextFormatColl*>(pReg);
}
-/// notifie all affected page frames
+/// notify all affected page frames
void SwPageDesc::RegisterChange()
{
// #117072# - During destruction of the document <SwDoc>
diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx
index db705536ba3b..1a1c111001e6 100644
--- a/sw/source/core/layout/paintfrm.cxx
+++ b/sw/source/core/layout/paintfrm.cxx
@@ -1892,7 +1892,7 @@ bool DrawFillAttributes(
// AAed regions does not add to no transparence (0.5 opacity covered by 0.5 opacity
// is not full opacity but 0.75 opacity) we need some overlap here to avoid paint
// artifacts. Checked experimentally - a little bit more in Y is needed, probably
- // due to still existing integer alignment and cruncing in writer.
+ // due to still existing integer alignment and crunching in writer.
static double fExpandX = 0.55;
static double fExpandY = 0.70;
const basegfx::B2DVector aSingleUnit(rOut.GetInverseViewTransformation() * basegfx::B2DVector(fExpandX, fExpandY));
@@ -2153,7 +2153,7 @@ void DrawGraphic(
// background) is transparent drawn and the background color is
// "no fill" respectively "auto fill", if background transparency
// has to be considered.
- // If YES, memorise transparency of background graphic.
+ // If YES, memorize transparency of background graphic.
// check also, if background graphic bitmap is transparent.
bool bTransparentGrfWithNoFillBackgrd = false;
sal_Int32 nGrfTransparency = 0;
@@ -2247,7 +2247,7 @@ void DrawGraphic(
{
// background region have to be drawn transparent.
// Thus, create a poly-polygon from the region and draw it with
- // the corresponding transparency precent.
+ // the corresponding transparency percent.
tools::PolyPolygon aDrawPoly( rOut.SVRect() );
if ( aGrf.HasArea() )
{