Kaydet (Commit) 471a444f authored tarafından Thomas Arnhold's avatar Thomas Arnhold

typo: exspected -> expected

üst 8d267214
......@@ -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;
......
......@@ -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
......
......@@ -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;
......
......@@ -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)();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment