From bc94047616aaa22c3cd982ee978c320b897f9629 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 20 Apr 2024 15:09:19 +0200 Subject: loplugin:constantparam Change-Id: I42e35e3474a222d57cb0b911060710c0c49d0b0f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166420 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 41005f3cbcdd..30881876b925 100644 --- a/comphelper/source/misc/mimeconfighelper.cxx +++ b/comphelper/source/misc/mimeconfighelper.cxx @@ -561,7 +561,7 @@ OUString MimeConfigurationHelper::GetFactoryNameByMediaType( const OUString& aMe OUString MimeConfigurationHelper::UpdateMediaDescriptorWithFilterName( uno::Sequence< beans::PropertyValue >& aMediaDescr, - bool bIgnoreType, bool bAllowDeepDetection ) + bool bIgnoreType ) { OUString aFilterName; @@ -581,7 +581,7 @@ OUString MimeConfigurationHelper::UpdateMediaDescriptorWithFilterName( uno::Sequence< beans::PropertyValue > aTempMD( aMediaDescr ); // get TypeName - OUString aTypeName = xTypeDetection->queryTypeByDescriptor(aTempMD, bAllowDeepDetection); + OUString aTypeName = xTypeDetection->queryTypeByDescriptor(aTempMD, /*bAllowDeepDetection*/true); // get FilterName for (const auto& prop : aTempMD) -- cgit