From e4472d3c139294499f4c0caeebd9d4e995958eb0 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 4 Dec 2018 11:20:03 +0200 Subject: loplugin:unnecessaryparen include more assignments Change-Id: I9fb8366634b31230b732dd38a98f800075529714 Reviewed-on: https://gerrit.libreoffice.org/64510 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sc/source/ui/vba/vbawindow.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sc/source/ui/vba/vbawindow.cxx') diff --git a/sc/source/ui/vba/vbawindow.cxx b/sc/source/ui/vba/vbawindow.cxx index e0498cb7a73a..91bcc5d2be87 100644 --- a/sc/source/ui/vba/vbawindow.cxx +++ b/sc/source/ui/vba/vbawindow.cxx @@ -818,7 +818,7 @@ sal_Int32 SAL_CALL ScVbaWindow::PointsToScreenPixelsX(sal_Int32 _points) { sal_Int32 nHundredthsofOneMillimeters = Millimeter::getInHundredthsOfOneMillimeter( _points ); - double fConvertFactor = (getDevice()->getInfo().PixelPerMeterX/100000); + double fConvertFactor = getDevice()->getInfo().PixelPerMeterX/100000; return static_cast(fConvertFactor * nHundredthsofOneMillimeters ); } @@ -826,7 +826,7 @@ sal_Int32 SAL_CALL ScVbaWindow::PointsToScreenPixelsY(sal_Int32 _points) { sal_Int32 nHundredthsofOneMillimeters = Millimeter::getInHundredthsOfOneMillimeter( _points ); - double fConvertFactor = (getDevice()->getInfo().PixelPerMeterY/100000); + double fConvertFactor = getDevice()->getInfo().PixelPerMeterY/100000; return static_cast(fConvertFactor * nHundredthsofOneMillimeters ); } -- cgit