summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-11-13 08:40:07 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-11-13 09:02:09 +0100
commit630b5db9a10cd49d24d5e563374bd68f1fe670f5 (patch)
tree711cff6fd0fcf1c2648bcf358e976cba34c2affb /sd
parentca0308797df86ebece19260f3ca438a0cb437208 (diff)
loplugin:singlevalfields in svtools
Change-Id: I6bb8a875f18df3cb7054fa65285eb3cafc1648ac Reviewed-on: https://gerrit.libreoffice.org/63316 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/view/drviews4.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/sd/source/ui/view/drviews4.cxx b/sd/source/ui/view/drviews4.cxx
index 11986c86c6c8..70d49670ea7d 100644
--- a/sd/source/ui/view/drviews4.cxx
+++ b/sd/source/ui/view/drviews4.cxx
@@ -826,15 +826,11 @@ void DrawViewShell::ShowMousePosInfo(const ::tools::Rectangle& rRect,
nCnt = 1;
pHLines[0].nPos = rRect.Left() - nHOffs;
pVLines[0].nPos = rRect.Top() - nVOffs;
- pHLines[0].nStyle = 0;
- pVLines[0].nStyle = 0;
if ( rRect.Right() != rRect.Left() || rRect.Bottom() != rRect.Top() )
{
pHLines[1].nPos = rRect.Right() - nHOffs;
pVLines[1].nPos = rRect.Bottom() - nVOffs;
- pHLines[1].nStyle = 0;
- pVLines[1].nStyle = 0;
nCnt++;
}