make this more readable

This commit is contained in:
David Tardon 2011-04-28 07:53:50 +02:00
parent 741be87229
commit 48da9c8021

View file

@ -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);