From 7cc1d3437a48140382773bf41401a46a3ced4706 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 3 May 2021 09:29:37 +0200 Subject: loplugin:unnecessaryparen small improvement when calling a function, and passing only one arg, but the function has defaulted args, we were ignoring this case. Change-Id: I86517f18e30531127664088ddc09ef96dbd8bdf5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115033 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sw/source/uibase/sidebar/PageMarginControl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw/source/uibase/sidebar') diff --git a/sw/source/uibase/sidebar/PageMarginControl.cxx b/sw/source/uibase/sidebar/PageMarginControl.cxx index d3f2a0d91642..5f40751cda2e 100644 --- a/sw/source/uibase/sidebar/PageMarginControl.cxx +++ b/sw/source/uibase/sidebar/PageMarginControl.cxx @@ -577,7 +577,7 @@ void PageMarginControl::StoreUserCustomValues() SvtViewOptions aWinOpt5( EViewType::Window, SWPAGE_MIRROR_GVALUE ); aSeq[0].Name = "mbMirrored"; - aSeq[0].Value <<= OUString::number( (m_bMirrored ? 1 : 0) ); + aSeq[0].Value <<= OUString::number( m_bMirrored ? 1 : 0 ); aWinOpt5.SetUserData( aSeq ); } -- cgit