summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-04-11 09:06:18 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-04-14 12:33:02 +0200
commit471a444f270ca9d2113d9e95876fb2ed6e15c7d5 (patch)
tree1808d61d8abad7604e8d5d9908f646f9213d807d /sw
parent8d2672141e02e4cc6abc6a42a56e1df5ac76c40f (diff)
typo: exspected -> expected
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/crsr/crsrsh.cxx2
-rw-r--r--sw/source/core/layout/ftnfrm.cxx6
-rw-r--r--sw/source/core/layout/sectfrm.cxx4
-rw-r--r--sw/source/core/layout/wsfrm.cxx2
4 files changed, 7 insertions, 7 deletions
diff --git a/sw/source/core/crsr/crsrsh.cxx b/sw/source/core/crsr/crsrsh.cxx
index e71b044ca8c6..36a907fe2b20 100644
--- a/sw/source/core/crsr/crsrsh.cxx
+++ b/sw/source/core/crsr/crsrsh.cxx
@@ -1905,7 +1905,7 @@ void SwCrsrShell::RefreshBlockCursor()
{
// The order of the SwSelectionList has to be preserved but
// the order inside the ring created by CreateCrsr() is not like
- // exspected => First create the selections before the last one
+ // expected => First create the selections before the last one
// downto the first selection.
// At least create the cursor for the last selection
--pPam;
diff --git a/sw/source/core/layout/ftnfrm.cxx b/sw/source/core/layout/ftnfrm.cxx
index c957bb45d209..6bf94cb507e3 100644
--- a/sw/source/core/layout/ftnfrm.cxx
+++ b/sw/source/core/layout/ftnfrm.cxx
@@ -1802,7 +1802,7 @@ void SwFtnBossFrm::_CollectFtns( const SwCntntFrm* _pRef,
} while( !pNxtFtn && pBoss );
}
else if( !pNxtFtn->GetAttr()->GetFtn().IsEndNote() )
- { OSL_ENSURE( !pNxtFtn->GetMaster(), "_CollectFtn: Master exspected" );
+ { OSL_ENSURE( !pNxtFtn->GetMaster(), "_CollectFtn: Master expected" );
while ( pNxtFtn->GetMaster() )
pNxtFtn = pNxtFtn->GetMaster();
}
@@ -2420,7 +2420,7 @@ SwTwips SwFtnBossFrm::GetVarSpace() const
if( pSect->IsEndnAtEnd() ) // endnotes allowed?
{
OSL_ENSURE( !Lower() || !Lower()->GetNext() || Lower()->GetNext()->
- IsFtnContFrm(), "FtnContainer exspected" );
+ IsFtnContFrm(), "FtnContainer expected" );
const SwFtnContFrm* pCont = Lower() ?
(SwFtnContFrm*)Lower()->GetNext() : 0;
if( pCont )
@@ -2487,7 +2487,7 @@ sal_uInt8 SwFtnBossFrm::_NeighbourhoodAdjustment( const SwFrm* ) const
nRet = NA_GROW_SHRINK;
else
{
- OSL_ENSURE( GetUpper()->IsSctFrm(), "NeighbourhoodAdjustment: Unexspected Upper" );
+ OSL_ENSURE( GetUpper()->IsSctFrm(), "NeighbourhoodAdjustment: Unexpected Upper" );
if( !GetNext() && !GetPrev() )
nRet = NA_GROW_ADJUST; // section with a single column (FtnAtEnd)
else
diff --git a/sw/source/core/layout/sectfrm.cxx b/sw/source/core/layout/sectfrm.cxx
index 79889a7f1855..6758cd47f17c 100644
--- a/sw/source/core/layout/sectfrm.cxx
+++ b/sw/source/core/layout/sectfrm.cxx
@@ -2477,11 +2477,11 @@ SwFtnContFrm* SwSectionFrm::ContainsFtnCont( const SwFtnContFrm* pCont ) const
if( pLay->Lower() && pLay->Lower()->GetNext() )
{
OSL_ENSURE( pLay->Lower()->GetNext()->IsFtnContFrm(),
- "ToMaximize: Unexspected Frame" );
+ "ToMaximize: Unexpected Frame" );
pRet = (SwFtnContFrm*)pLay->Lower()->GetNext();
}
OSL_ENSURE( !pLay->GetNext() || pLay->GetNext()->IsLayoutFrm(),
- "ToMaximize: ColFrm exspected" );
+ "ToMaximize: ColFrm expected" );
pLay = (SwLayoutFrm*)pLay->GetNext();
}
return pRet;
diff --git a/sw/source/core/layout/wsfrm.cxx b/sw/source/core/layout/wsfrm.cxx
index 2ab3ca01a48d..cf6bceda3d6e 100644
--- a/sw/source/core/layout/wsfrm.cxx
+++ b/sw/source/core/layout/wsfrm.cxx
@@ -3367,7 +3367,7 @@ void SwLayoutFrm::FormatWidthCols( const SwBorderAttrs &rAttrs,
{
bFoundLower = true;
pLay = (SwLayoutFrm*)pLay->GetNext();
- OSL_ENSURE( pLay->IsFtnContFrm(),"FtnContainer exspected" );
+ OSL_ENSURE( pLay->IsFtnContFrm(),"FtnContainer expected" );
nInnerHeight += pLay->InnerHeight();
nInnerHeight += (pLay->Frm().*fnRect->fnGetHeight)() -
(pLay->Prt().*fnRect->fnGetHeight)();