summaryrefslogtreecommitdiff
path: root/svx/source/dialog/pagectrl.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-03-05 13:44:17 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-03-06 06:47:06 +0100
commita2e3705d8b3b05ae664d54b762d6ff72927d5e48 (patch)
tree6ac31f9c9b419b12dbf065845a6941c143f57e2c /svx/source/dialog/pagectrl.cxx
parentf423ac2d3bdba4263f1f41e31e7e2b7715afdd6e (diff)
loplugin:unnecessaryparen improve member expression
Change-Id: I304621018cb1e2a47e478e86df4229bcf2176741 Reviewed-on: https://gerrit.libreoffice.org/68757 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/dialog/pagectrl.cxx')
-rw-r--r--svx/source/dialog/pagectrl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/dialog/pagectrl.cxx b/svx/source/dialog/pagectrl.cxx
index 324a7373daa7..0d12247b98ec 100644
--- a/svx/source/dialog/pagectrl.cxx
+++ b/svx/source/dialog/pagectrl.cxx
@@ -195,7 +195,7 @@ void SvxPageWindow::DrawPage(vcl::RenderContext& rRenderContext, const Point& rO
{
// show headers if possible
aHdRect.AdjustLeft(nHdLeft );
- aHdRect.AdjustRight( -(nHdRight) );
+ aHdRect.AdjustRight( -nHdRight );
aHdRect.SetBottom( aRect.Top() + nHdHeight );
aRect.AdjustTop(nHdHeight + nHdDist );
@@ -207,7 +207,7 @@ void SvxPageWindow::DrawPage(vcl::RenderContext& rRenderContext, const Point& rO
{
// show footer if possible
aFtRect.AdjustLeft(nFtLeft );
- aFtRect.AdjustRight( -(nFtRight) );
+ aFtRect.AdjustRight( -nFtRight );
aFtRect.SetTop( aRect.Bottom() - nFtHeight );
aRect.AdjustBottom( -(nFtHeight + nFtDist) );