From 4f4486c61d3e437059a2ac77aae012489f5c7e25 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 20 Nov 2017 10:26:01 +0200 Subject: look for =() in loplugin:unnecessaryparen Change-Id: I4f9b71ff7767e90987bb40358fc46ed5d1d571d0 Reviewed-on: https://gerrit.libreoffice.org/44944 Tested-by: Jenkins Reviewed-by: Noel Grandin --- starmath/source/node.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'starmath/source/node.cxx') diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx index 23b06c05d04a..39195f5ba194 100644 --- a/starmath/source/node.cxx +++ b/starmath/source/node.cxx @@ -530,8 +530,7 @@ void SmTableNode::Arrange(OutputDevice &rDev, const SmFormat &rFormat) SmTmpDevice aTmpDev (rDev, true); aTmpDev.SetFont(GetFont()); - SmRect aRect = (SmRect(aTmpDev, &rFormat, "a", - GetFont().GetBorderWidth())); + SmRect aRect(aTmpDev, &rFormat, "a", GetFont().GetBorderWidth()); mnFormulaBaseline = GetAlignM(); // move from middle position by constant - distance // between middle and baseline for single letter -- cgit