summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-04-20 15:09:19 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-04-22 13:26:38 +0200
commitbc94047616aaa22c3cd982ee978c320b897f9629 (patch)
tree547322a7eba0a14538a86768649e15872560e086 /comphelper
parentf5b511b8470299caa99bf34ffac0fe272dfe9ec9 (diff)
loplugin:constantparam
Change-Id: I42e35e3474a222d57cb0b911060710c0c49d0b0f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166420 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/source/misc/mimeconfighelper.cxx4
1 files changed, 2 insertions, 2 deletions
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)