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 --- comphelper/source/misc/mimeconfighelper.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'comphelper') diff --git a/comphelper/source/misc/mimeconfighelper.cxx b/comphelper/source/misc/mimeconfighelper.cxx index fc55f2c73ed2..5d7249c5f04b 100644 --- a/comphelper/source/misc/mimeconfighelper.cxx +++ b/comphelper/source/misc/mimeconfighelper.cxx @@ -728,12 +728,12 @@ OUString MimeConfigurationHelper::GetDefaultFilterFromServiceName( const OUStrin SfxFilterFlags nFlags = static_cast(aPropsHM.getUnpackedValueOrDefault( "Flags", sal_Int32(0) )); // that should be import, export, own filter and not a template filter ( TemplatePath flag ) - SfxFilterFlags const nRequired = (SfxFilterFlags::OWN + SfxFilterFlags const nRequired = SfxFilterFlags::OWN // fdo#78159 for OOoXML, there is code to convert // to ODF in OCommonEmbeddedObject::store* // so accept it even though there's no export | (SOFFICE_FILEFORMAT_60 == nVersion ? SfxFilterFlags::NONE : SfxFilterFlags::EXPORT) - | SfxFilterFlags::IMPORT ); + | SfxFilterFlags::IMPORT; if ( ( ( nFlags & nRequired ) == nRequired ) && !( nFlags & SfxFilterFlags::TEMPLATEPATH ) ) { // if there are more than one filter the preferred one should be used -- cgit