From 48da9c8021d06e456509bca6d3e272d87365cad4 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Thu, 28 Apr 2011 07:53:50 +0200 Subject: [PATCH] make this more readable --- svx/source/svdraw/svdpagv.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/svx/source/svdraw/svdpagv.cxx b/svx/source/svdraw/svdpagv.cxx index 6653859fd9d5..3c5632dd6b89 100644 --- a/svx/source/svdraw/svdpagv.cxx +++ b/svx/source/svdraw/svdpagv.cxx @@ -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);