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>
This commit is contained in:
Noel Grandin 2024-04-20 15:09:19 +02:00
parent f5b511b847
commit bc94047616
2 changed files with 3 additions and 4 deletions

View file

@ -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)

View file

@ -104,8 +104,7 @@ public:
OUString UpdateMediaDescriptorWithFilterName(
css::uno::Sequence< css::beans::PropertyValue >& aMediaDescr,
bool bIgnoreType,
bool bAllowDeepFilterDetection = true );
bool bIgnoreType );
OUString UpdateMediaDescriptorWithFilterName(
css::uno::Sequence< css::beans::PropertyValue >& aMediaDescr,
css::uno::Sequence< css::beans::NamedValue >& aObject );