Paragraph argument never used in InvalidateBullet
Change-Id: I07ba855e473fb137551e70de9cfa858c5e079324
This commit is contained in:
parent
5f500adec8
commit
05f90a9afe
@ -795,7 +795,6 @@ void Outliner::SetParaAttribs( sal_Int32 nPara, const SfxItemSet& rSet )
|
||||
|
||||
bool Outliner::Expand( Paragraph* pPara )
|
||||
{
|
||||
|
||||
if ( pParaList->HasHiddenChildren( pPara ) )
|
||||
{
|
||||
OLUndoExpand* pUndo = 0;
|
||||
@ -811,7 +810,7 @@ bool Outliner::Expand( Paragraph* pPara )
|
||||
bIsExpanding = true;
|
||||
pParaList->Expand( pPara );
|
||||
ExpandHdl();
|
||||
InvalidateBullet( pPara, pParaList->GetAbsPos(pPara) );
|
||||
InvalidateBullet(pParaList->GetAbsPos(pPara));
|
||||
if( bUndo )
|
||||
{
|
||||
InsertUndo( pUndo );
|
||||
@ -822,7 +821,6 @@ bool Outliner::Expand( Paragraph* pPara )
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
bool Outliner::Collapse( Paragraph* pPara )
|
||||
{
|
||||
if ( pParaList->HasVisibleChildren( pPara ) ) // expanded
|
||||
@ -844,7 +842,7 @@ bool Outliner::Collapse( Paragraph* pPara )
|
||||
bIsExpanding = false;
|
||||
pParaList->Collapse( pPara );
|
||||
ExpandHdl();
|
||||
InvalidateBullet( pPara, pParaList->GetAbsPos(pPara) );
|
||||
InvalidateBullet(pParaList->GetAbsPos(pPara));
|
||||
if( bUndo )
|
||||
{
|
||||
InsertUndo( pUndo );
|
||||
@ -1105,9 +1103,8 @@ void Outliner::PaintBullet( sal_Int32 nPara, const Point& rStartPos,
|
||||
}
|
||||
}
|
||||
|
||||
void Outliner::InvalidateBullet( Paragraph* /*pPara*/, sal_Int32 nPara )
|
||||
void Outliner::InvalidateBullet(sal_Int32 nPara)
|
||||
{
|
||||
|
||||
long nLineHeight = (long)pEditEngine->GetLineHeight(nPara );
|
||||
for ( size_t i = 0, n = aViewList.size(); i < n; ++i )
|
||||
{
|
||||
|
@ -529,7 +529,7 @@ void OutlinerView::Indent( short nDiff )
|
||||
pPrev = pOwner->pParaList->GetParent( pPrev );
|
||||
|
||||
pOwner->Expand( pPrev );
|
||||
pOwner->InvalidateBullet( pPrev, pOwner->pParaList->GetAbsPos( pPrev ) );
|
||||
pOwner->InvalidateBullet(pOwner->pParaList->GetAbsPos(pPrev));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -650,8 +650,8 @@ protected:
|
||||
|
||||
virtual void StyleSheetChanged( SfxStyleSheet* pStyle );
|
||||
|
||||
void InvalidateBullet( Paragraph* pPara, sal_Int32 nPara );
|
||||
void PaintBullet( sal_Int32 nPara, const Point& rStartPos,
|
||||
void InvalidateBullet(sal_Int32 nPara);
|
||||
void PaintBullet( sal_Int32 nPara, const Point& rStartPos,
|
||||
const Point& rOrigin, short nOrientation,
|
||||
OutputDevice* pOutDev );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user