From 4b2262ab5b10f334f1984fec84d2978db81c58f1 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 5 Jul 2017 08:32:57 +0200 Subject: new loplugin unnecessaryparen Change-Id: Ic883a07b30069ca6342d7521c8ad890f4326f0ec Reviewed-on: https://gerrit.libreoffice.org/39549 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sc/source/filter/oox/pagesettings.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc/source/filter/oox/pagesettings.cxx') diff --git a/sc/source/filter/oox/pagesettings.cxx b/sc/source/filter/oox/pagesettings.cxx index fe5ff212e341..eb40ec2e40e5 100644 --- a/sc/source/filter/oox/pagesettings.cxx +++ b/sc/source/filter/oox/pagesettings.cxx @@ -927,7 +927,7 @@ void PageSettingsConverter::writePageSettingsProperties( awt::Size aSize; bool bValid = false; - if( (0 < rModel.mnPaperSize) ) + if( 0 < rModel.mnPaperSize ) { const msfilter::util::ApiPaperSize& rPaperSize = msfilter::util::PaperSizeConv::getApiSizeForMSPaperSizeIndex( rModel.mnPaperSize ); aSize = awt::Size( rPaperSize.mnWidth, rPaperSize.mnHeight ); -- cgit