summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2013-10-02 21:56:10 +0300
committerTor Lillqvist <tml@collabora.com>2013-10-02 21:57:42 +0300
commite036d4b706685b995a497808e357b9fd2eb9d965 (patch)
treee1981081ae4b49913db9923795fb43236a48ab8a /sw
parent4d646780dee68d319b0b801111e99cb2eab03a5d (diff)
Spell "indices" correctly
Change-Id: I63b1de195bf2f3f8bfd185181f48b1520cdd849f
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/doc/docnew.cxx8
-rw-r--r--sw/source/core/undo/undel.cxx4
2 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/core/doc/docnew.cxx b/sw/source/core/doc/docnew.cxx
index d4ba831493fc..c4af46822c21 100644
--- a/sw/source/core/doc/docnew.cxx
+++ b/sw/source/core/doc/docnew.cxx
@@ -166,7 +166,7 @@ void StartGrammarChecking( SwDoc &rDoc )
/*
* internal functions
*/
-static void lcl_DelFmtIndizes( SwFmt* pFmt )
+static void lcl_DelFmtIndices( SwFmt* pFmt )
{
SwFmtCntnt &rFmtCntnt = (SwFmtCntnt&)pFmt->GetCntnt();
if ( rFmtCntnt.GetCntntIdx() )
@@ -582,11 +582,11 @@ SwDoc::~SwDoc()
// Any of the FrmFormats can still have indices registered.
// These need to be destroyed now at the latest.
BOOST_FOREACH( SwFrmFmt* pFmt, *mpFrmFmtTbl )
- lcl_DelFmtIndizes( pFmt );
+ lcl_DelFmtIndices( pFmt );
BOOST_FOREACH( SwFrmFmt* pFmt, *mpSpzFrmFmtTbl )
- lcl_DelFmtIndizes( pFmt );
+ lcl_DelFmtIndices( pFmt );
BOOST_FOREACH( SwSectionFmt* pFmt, *mpSectionFmtTbl )
- lcl_DelFmtIndizes( pFmt );
+ lcl_DelFmtIndices( pFmt );
// The formats/styles that follow depend on the default formats.
// Destroy these only after destroying the FmtIndices, because the content
diff --git a/sw/source/core/undo/undel.cxx b/sw/source/core/undo/undel.cxx
index c6ac06c8b979..34e9fcb66729 100644
--- a/sw/source/core/undo/undel.cxx
+++ b/sw/source/core/undo/undel.cxx
@@ -75,7 +75,7 @@ static void lcl_MakeAutoFrms( const SwFrmFmts& rSpzArr, sal_uLong nMovedIndex )
// the first and last paragraph of the selection will be handled outside this
// function.
// Here are the main steps of the function:
-// 1. Deletion/recording of content indizes of the selection: footnotes, fly
+// 1. Deletion/recording of content indices of the selection: footnotes, fly
// frames and bookmarks
// Step 1 could shift all nodes by deletion of footnotes => nNdDiff will be set.
// 2. If the paragraph where the selection ends, is the last content of a
@@ -124,7 +124,7 @@ SwUndoDelete::SwUndoDelete( SwPaM& rPam, sal_Bool bFullPara, sal_Bool bCalledByT
? rPam.GetMark()
: rPam.GetPoint();
- // Step 1. deletion/record of content indizes
+ // Step 1. deletion/record of content indices
if( bDelFullPara )
{
OSL_ENSURE( rPam.HasMark(), "PaM ohne Mark" );