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/inc/rangeutl.hxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sc/inc/rangeutl.hxx') diff --git a/sc/inc/rangeutl.hxx b/sc/inc/rangeutl.hxx index e65213f848db..feab1fa5f853 100644 --- a/sc/inc/rangeutl.hxx +++ b/sc/inc/rangeutl.hxx @@ -166,7 +166,7 @@ public: formula::FormulaGrammar::AddressConvention eConv, sal_Unicode cSeparator = ' ', bool bAppendStr = false, - ScRefFlags nFormatFlags = (ScRefFlags::VALID | ScRefFlags::TAB_3D) ); + ScRefFlags nFormatFlags = ScRefFlags::VALID | ScRefFlags::TAB_3D ); static void GetStringFromRange( OUString& rString, const ScRange& rRange, @@ -174,7 +174,7 @@ public: formula::FormulaGrammar::AddressConvention eConv, sal_Unicode cSeparator = ' ', bool bAppendStr = false, - ScRefFlags nFormatFlags = (ScRefFlags::VALID | ScRefFlags::TAB_3D) ); + ScRefFlags nFormatFlags = ScRefFlags::VALID | ScRefFlags::TAB_3D ); static void GetStringFromRangeList( OUString& rString, const ScRangeList* pRangeList, @@ -189,7 +189,7 @@ public: formula::FormulaGrammar::AddressConvention eConv, sal_Unicode cSeparator, bool bAppendStr = false, - ScRefFlags nFormatFlags = (ScRefFlags::VALID | ScRefFlags::TAB_3D) ); + ScRefFlags nFormatFlags = ScRefFlags::VALID | ScRefFlags::TAB_3D ); /// Range to String API static void GetStringFromAddress( @@ -206,7 +206,7 @@ public: formula::FormulaGrammar::AddressConvention eConv, sal_Unicode cSeparator = ' ', bool bAppendStr = false, - ScRefFlags nFormatFlags = (ScRefFlags::VALID | ScRefFlags::TAB_3D) ); + ScRefFlags nFormatFlags = ScRefFlags::VALID | ScRefFlags::TAB_3D ); static void GetStringFromRangeList( OUString& rString, const css::uno::Sequence< css::table::CellRangeAddress >& rRangeSeq, -- cgit