summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdpagv.cxx
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2011-04-28 07:52:27 +0200
committerDavid Tardon <dtardon@redhat.com>2011-04-28 07:52:27 +0200
commit741be872294728c207886245369c71ed0a459004 (patch)
tree38ff19c61c53c610c7a67d3f347384030c3de40e /svx/source/svdraw/svdpagv.cxx
parent3a9abcfb89950aa7e9db957c6f09a062102b0fb0 (diff)
both branches of the if are same
Diffstat (limited to 'svx/source/svdraw/svdpagv.cxx')
-rw-r--r--svx/source/svdraw/svdpagv.cxx10
1 files changed, 2 insertions, 8 deletions
diff --git a/svx/source/svdraw/svdpagv.cxx b/svx/source/svdraw/svdpagv.cxx
index b78d10084ebe..6653859fd9d5 100644
--- a/svx/source/svdraw/svdpagv.cxx
+++ b/svx/source/svdraw/svdpagv.cxx
@@ -883,14 +883,8 @@ void SdrPageView::InsertHelpLine(const SdrHelpLine& rHL, sal_uInt16 nNum)
{
if (nNum>aHelpLines.GetCount()) nNum=aHelpLines.GetCount();
aHelpLines.Insert(rHL,nNum);
- if (GetView().IsHlplVisible()) {
- if (GetView().IsHlplFront()) {
- // Hier optimieren ...
- ImpInvalidateHelpLineArea(nNum);
- } else {
- ImpInvalidateHelpLineArea(nNum);
- }
- }
+ if (GetView().IsHlplVisible())
+ ImpInvalidateHelpLineArea(nNum);
}
// Betretene Gruppe und Liste setzen