make this more readable
This commit is contained in:
parent
741be87229
commit
48da9c8021
1 changed files with 2 additions and 1 deletions
|
@ -881,7 +881,8 @@ void SdrPageView::DeleteHelpLine(sal_uInt16 nNum)
|
|||
|
||||
void SdrPageView::InsertHelpLine(const SdrHelpLine& rHL, sal_uInt16 nNum)
|
||||
{
|
||||
if (nNum>aHelpLines.GetCount()) nNum=aHelpLines.GetCount();
|
||||
if (nNum > aHelpLines.GetCount())
|
||||
nNum = aHelpLines.GetCount();
|
||||
aHelpLines.Insert(rHL,nNum);
|
||||
if (GetView().IsHlplVisible())
|
||||
ImpInvalidateHelpLineArea(nNum);
|
||||
|
|
Loading…
Reference in a new issue